Vice28
unread,Mar 2, 2011, 4:03:39 AM3/2/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to panoramio-t...@googlegroups.com
Hi, in this topic you can share us your errors during the translation process of your localized .po files and together find a solution for your errors. I will suggest my errors-and-solutions too.
This topic is opened because recently i had 110 errors in my .po file in PoEditor and my inspiration told me to open the .po file in PsPad Editor and try to fix the empty spaces (empty lines) at those line-errors.
So, first, let*s try to fix the common errors:
1. 3823: a format specification for argument 'begin_a' doesn't exist in 'msgstr'
Let*s see the cause of this error:
#, python-format
msgid ""
"\n"
" Mapped to\n"
" <span class=\"location-name\">\n"
" %(location_name)s\n"
" </span>\n"
" %(begin_a)sChange%(end_a)s\n"
msgstr ""
"\n"
" Poziționat în\n"
" <span class=\"location-name\">\n"
" %(location_name)s\n"
" </span>\n"
" %(begin_a)sChange%(end_a)s\n"
The problem in your PO File is, that in the translated syntax, this line
" %(begin_a)sChange%(end_a)s\n"
is missing!! Just copy it from the above line after the span syntax and this error will be fixed!
-----------------------------------------------------------------------
2. 1377: `msgid' and `msgstr' entries do not both end with '\n'
This error is shown because the \n is missing in your translated line, here is an example:
#, python-format
msgid ""
"\n"
" View most recently announced winners for %(contest_name)s.\n"
msgstr ""
"\n"
" Vizualizați cei mai recent anunțați câștigători ai %(contest_name)s.\n"
You must add the \n string in the second translated line, just as it is in the original english line. In some cases you have to add "\n" after the msgstr "" string.
For now, these are the most common errors that may occure in your PO File. If you have other error related issues, please share them here...