Solved

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

Posted on 2007-04-02
6
1,145 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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 Schröder
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

770 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