Solved

Can not save the file ,po - Hebrew translation - using poedit software

Posted on 2007-04-02
6
1,155 Views
Last Modified: 2008-03-24
Can not save the file ,po - Hebrew translation - using poedit software
http://www.poedit.net/


06:59:49 AM: /home/ofer/bin/PlonePopoll/i18n/PlonePopoll.pot:23: missing `msgstr' section
06:59:49 AM: msgfmt: found 1 fatal error

Here is the po file

# Gettext Message File for PlonePopoll.
# translation team <team@domain.com>, 2003-2004
msgid ""
msgstr ""
"Project-Id-Version: PlonePopoll\n"
"POT-Creation-Date: 2003-03-17 09:03+0100\n"
"PO-Revision-Date: 2007-04-02 04:46-0500\n"
"Last-Translator: oferw <ofer@w.cm>\n"
"Language-Team: <>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language-code: en\n"
"Language-name: English\n"
"Preferred-encodings: latin1 utf-8\n"
"Domain: plonepopoll\n"
"X-Is-Fallback-For: \n"

#
#
#: PlonePopoll_editForm2.cpt
msgid "label_answers"

msgid "label_disabled"

msgid "label_enabled"

msgid "help_answers"

msgid "help_question"

msgid "description_edit"

msgid "legend_poll_details"

msgid "label_poll_status"

msgid "label_question"

msgid "help_poll_status"
msgstr "Select whether you want the Poll to be enabled."

msgid "title_help"
msgstr "Enter the title of the poll"

#
#
#: polls2.pt, polls.pt
msgid "text_update"
msgstr "Last Updated"

msgid "box_posted_by"
msgstr "Posted by"

msgid "link_read_more"
msgstr "Read More"

msgid "heading_polls_list"
msgstr "Polls"

msgid "description_polls_list"
msgstr "The latest polls, sorted in reverse chronological order."

msgid "text_no_poll"
msgstr "No polls have been posted."

msgid "PlonePopoll"
msgstr "Poll"

#
#
#: PlonePopoll_result2.pt, PlonePopoll_result.pt
msgid "legend_poll_state"
msgstr "Poll State"

msgid "legend_question"
msgstr "Question"

msgid "legend_responses"
msgstr "Responses"

msgid "legend_total_votes"
msgstr "Total votes"

#
#
#: PlonePopoll_view2.pt, PlonePopoll_view.pt
msgid "text_not_enable"
msgstr "The poll is not enabled."

#
#
#: PlonePopoll_view.pt, PlonePopoll_view2.pt, PlonePopoll_slot.pt, PlonePopoll_slot2.pt
msgid "Vote"
msgstr "Vote"

msgid "box_votes"
msgstr "Votes :"

msgid "box_link_polls"
msgstr "Polls"

msgid "box_link_results"
msgstr "Results"

#only for plone 1
msgid "You can vote only once on the poll. If you vote again, your old vote is replaced by the new vote."
msgstr "You can vote only once on the poll. If you vote again, your old vote is replaced by the new vote."

msgid "help_title"
msgstr "Enter a title for the poll. Choose a short title that can fit in the portlet."

#btn
msgid "Clear results"
msgstr "Clear results"

msgid "text_enabled"
msgstr "The Poll is enabled."

msgid "text_disabled"
msgstr "The Poll is disabled."

#
#
#: PlonePoll_editForm2.cpt
msgid "label_choice_count"
msgstr "Choice count"

msgid "help_choice_count"
msgstr "Enter the number of choices available."

msgid "label_poll_results_visibility"
msgstr "Poll Results Visibility"

msgid "help_poll_results_visibility"
msgstr "Select whether you want the Poll results to be visible."

msgid "label_results_visible"
msgstr "Visible"

msgid "label_results_not_visible"
msgstr "Invisible"

#
#
#: PlonePoll_view2.pt
msgid "description_vote"
msgstr "You can vote at most for ${number} choice(s) on the poll. If you vote again, your old vote is replaced by the new vote."

#
#
msgid "message_check_count"
msgstr "You have made ${checked} choices. The maximum authorized is ${max}."

#
#
#: PlonePopoll_results2.pt
msgid "text_person_vote_count"
msgstr "(${person_count} persons have voted)"

msgid "text_results_not_visible"
msgstr "Results will appear later."

msgid "text_votes_count"
msgstr "${vote_count} people have voted on this poll."

msgid "text_votes_per_choice"
msgstr "(${choice_count} votes)"

#
# prefs_PlonePopoll_form.cpt
#
msgid "heading_plonepopoll_configuration"
msgstr "PlonePopoll configuration"

msgid "legend_plonepopoll_configuration_details"
msgstr "PlonePopoll configuration details"

msgid "label_plonepopoll_portlet_configuration"
msgstr "PlonePopoll portlet"

msgid "help_plonepopoll_portlet_configuration"
msgstr "Choose in the list below the configuration of PlonePopoll portlet."

msgid "label_portlet_configuration_hidden"
msgstr "Hidden"

msgid "label_portlet_configuration_newest"
msgstr "Newest poll"

msgid "label_portlet_configuration_branch"
msgstr "First poll in branch"

msgid "label_portlet_configuration_subbranches"
msgstr "First poll in branch and sub branches"

0
Comment
Question by:oferweisglass
6 Comments
 
LVL 6

Expert Comment

by:deresh
ID: 18835579
you are missing msgstr lines in first 9 msgid lines, and this confuses poedit. just add empty msgstr lines like:

msgid "label_answers"
msgstr ""

msgid "label_disabled"
msgstr ""

msgid "label_enabled"
msgstr ""


etc...

that will fix your problems with poedit.
0
 

Author Comment

by:oferweisglass
ID: 18835829
Thank you for your answer

Added the missing labels under each line, opened the poedit, translated on value to Hebrew and got the same error
In the file I can see the values that I added as for the box for the translation

08:42:33 AM: /home/ofer/bin/PlonePopoll/i18n/PlonePopoll-he.po:26: missing `msgstr' section
08:42:33 AM: msgfmt: found 1 fatal error

0
 
LVL 6

Expert Comment

by:deresh
ID: 18836890
so you are still missing msgstr line somewhere belove line 26

this can occurr when you have " in your texts so poedit screws up your po file because of that
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

Author Comment

by:oferweisglass
ID: 18837269
so what is the solution? what to do? there are many " in the file...
0
 
LVL 16

Expert Comment

by:Hanno P.S.
ID: 21170238
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:
PAQ and refund points.

Any objections should be posted here in the next 4 days. After that time, the question will be closed.
JustUNIX, Experts Exchange Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 21198271
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ifconfig 4 72
number in printf 13 33
Using Linux to replace Windows Server 2008 R2 for network drives 5 107
Upgrade BIOS / EUFI at Scale 4 56
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question