Solved

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

Posted on 2007-04-02
6
1,172 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 

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

 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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 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…
Suggested Courses

615 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