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

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"

oferweisglassAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dereshCommented:
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
oferweisglassAuthor Commented:
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
dereshCommented:
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
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

oferweisglassAuthor Commented:
so what is the solution? what to do? there are many " in the file...
0
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
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
Computer101Commented:
PAQed with points refunded (250)

Computer101
EE Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.