Solved

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

Posted on 2007-04-02
6
1,136 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

Expert Comment

by:Hanno Schröder
Comment Utility
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
Comment Utility
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now