[zanata-users] problems with po files for subscription-manager/candlepin

Adrian Likins alikins at redhat.com
Tue Feb 7 16:38:01 UTC 2012


(Not entirely sure this is the right place for this, but alas)

I'm been trying to clean up the translations for candlepin
and subscription-manager, and have been having problems
with the po files I get back from zanata.

Often "msgfmt -c" will fail on these files, and I can't
compile them into mo's.  For example, with the
po's from candlepin I get:

as.po:7: some header fields still have the initial default value
bn.po:7: some header fields still have the initial default value
de.po:6: some header fields still have the initial default value
es.po:6: some header fields still have the initial default value
fr.po:6: some header fields still have the initial default value
fr.po:48: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:55: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:121: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:132: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:152: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:159: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:182: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:214: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:260: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:295: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:300: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:330: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:335: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:361: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:368: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:373: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:405: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:415: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:420: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:498: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:503: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:540: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:549: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:648: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:692: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:697: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:702: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:711: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:716: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:739: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:744: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:758: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:763: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:788: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:800: a format specification for argument {0} doesn't exist in 'msgstr'
fr.po:805: a format specification for argument {1} doesn't exist in 'msgstr'
fr.po:810: a format specification for argument {0} doesn't exist in 'msgstr'
msgfmt: found 37 fatal errors
gu.po:6: some header fields still have the initial default value
hi.po:7: some header fields still have the initial default value
hi.po:141: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt: found 1 fatal error
it.po:7: some header fields still have the initial default value
it.po:144: a format specification for argument {0} doesn't exist in 'msgstr'
it.po:779: a format specification for argument {0} doesn't exist in 'msgstr'
msgfmt: found 2 fatal errors
ja.po:7: some header fields still have the initial default value
kn.po:6: some header fields still have the initial default value
ko.po:7: some header fields still have the initial default value
ml.po:7: some header fields still have the initial default value
mr.po:6: some header fields still have the initial default value
or.po:6: some header fields still have the initial default value
pa.po:6: some header fields still have the initial default value
pt.po:7: some header fields still have the initial default value
ru.po:7: some header fields still have the initial default value
ta.po:6: some header fields still have the initial default value
te.po:6: some header fields still have the initial default value
zh_CN.po:7: some header fields still have the initial default value
zh_TW.po:6: some header fields still have the initial default value


For subscription-manager:
as
490 translated messages.
bn
po/bn.po:924: `msgid' and `msgstr' entries do not both end with '\n'
po/bn.po:2266: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt: found 2 fatal errors
490 translated messages.
de
po/de.po:2295: `msgid' and `msgstr' entries do not both begin with '\n'
msgfmt: found 1 fatal error
490 translated messages.
es
po/es.po:1246: number of format specifications in 'msgid' and 'msgstr' 
does not match
po/es.po:2279: `msgid' and `msgstr' entries do not both begin with '\n'
msgfmt: found 2 fatal errors
490 translated messages.
fr
490 translated messages.
gu
490 translated messages.
hi
490 translated messages.
it
490 translated messages.
ja
po/ja.po:2202: `msgid' and `msgstr' entries do not both begin with '\n'
msgfmt: found 1 fatal error
490 translated messages.
kn
490 translated messages.
ko
490 translated messages.
ml
po/ml.po:2122: `msgid' and `msgstr' entries do not both end with '\n'
po/ml.po:2162: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2171: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2232: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2241: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2249: `msgid' and `msgstr' entries do not both end with '\n'
po/ml.po:2267: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2276: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2288: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2296: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2304: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2313: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2321: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2340: `msgid' and `msgstr' entries do not both begin with '\n'
po/ml.po:2352: `msgid' and `msgstr' entries do not both begin with '\n'
msgfmt: found 16 fatal errors
490 translated messages.
mr
490 translated messages.
or
490 translated messages.
pa
490 translated messages.
pt_BR
237 translated messages, 2 fuzzy translations, 251 untranslated messages.
pt
po/pt.po:2258: `msgid' and `msgstr' entries do not both begin with '\n'
msgfmt: found 1 fatal error
490 translated messages.
ru
490 translated messages.
ta
490 translated messages.
te
490 translated messages.
zh_CN
490 translated messages.
zh_TW
490 translated messages.


Most of these I can fix by hand (and have), but they keep coming back.
What should I do to prevent these errors in the future?




More information about the zanata-users mailing list