From alikins at redhat.com Tue Feb 7 16:38:01 2012 From: alikins at redhat.com (Adrian Likins) Date: Tue, 07 Feb 2012 11:38:01 -0500 Subject: [zanata-users] problems with po files for subscription-manager/candlepin Message-ID: <4F315369.2080108@redhat.com> (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? From damason at redhat.com Wed Feb 8 03:10:04 2012 From: damason at redhat.com (David Mason) Date: Tue, 07 Feb 2012 22:10:04 -0500 (EST) Subject: [zanata-users] problems with po files for subscription-manager/candlepin In-Reply-To: <4F315369.2080108@redhat.com> Message-ID: <9a848fec-f62d-4bc7-a7be-709f0ade1cf2@zmail10.collab.prod.int.phx2.redhat.com> Hi Adrian, The validations currently in Zanata 1.5 (release aimed for late February) will help translators to avoid most of these problems, such as mismatched newlines and format specifiers. We have yet to add a validation for java style format strings, but it appears there is a need here so we could look at adding that for the next point release. I have not seen any of the header field warnings running msgfmt -c on po files from the 1.5 test machines, so it's likely this problem will also go away with the next release. If you copy the offending headers and your fixes in a reply I'll do more directed testing to ensure they will not cause problems after 1.5 is released. Cheers, David Mason Software Engineer L10n Engineering Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000 ----- Original Message ----- > From: "Adrian Likins" > To: zanata-users at redhat.com > Sent: Wednesday, 8 February, 2012 2:38:01 AM > Subject: [zanata-users] problems with po files for subscription-manager/candlepin > > > (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? > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > From sflaniga at redhat.com Wed Feb 8 07:53:57 2012 From: sflaniga at redhat.com (Sean Flanigan) Date: Wed, 08 Feb 2012 17:53:57 +1000 Subject: [zanata-users] problems with po files for subscription-manager/candlepin In-Reply-To: <4F315369.2080108@redhat.com> References: <4F315369.2080108@redhat.com> Message-ID: <4F322A15.8040401@redhat.com> Hi Adrian, After you fix the offending translations, are you pushing the fixed po files back to Zanata? You'll need to be set up as a project maintainer to do that. Sean. On 2012-02-08 02:38, Adrian Likins wrote: > > (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? > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users -- Sean Flanigan Senior Software Engineer Engineering - Internationalisation Red Hat -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 554 bytes Desc: OpenPGP digital signature URL: