From sflaniga at redhat.com Tue Nov 6 03:25:17 2012 From: sflaniga at redhat.com (Sean Flanigan) Date: Tue, 06 Nov 2012 13:25:17 +1000 Subject: [zanata-users] Project-Id-Version should be set to...? In-Reply-To: <5091A68A.9030606@redhat.com> References: <5091A68A.9030606@redhat.com> Message-ID: <5098831D.4050503@redhat.com> I don't think that field is used for anything much, or it would be an error. Zanata presently generates that value by copying the header from the POT file (after a cycle of zanata push; zanata pull). Depending on how you generate the POT files, you can probably change the Project-Id-Version in the POT. With xgettext, see the options --package-name and --package-version. If you like, you could submit a Zanata RFE to generate Project-Id-Version from Zanata's project slug and version slug (only when Project-Id-Version still has the initial default "PACKAGE VERSION"). On 2012-11-01 08:30, Adrian Likins wrote: > > For subscription-manager, the po's metadata value "Project-Id-Version" > sometimes get's reset to "PACKAGE VERSION" > > at least on RHEL6, "msgfmt -c" complains about and prints a warning: > > po/gu.po:4: field `Project-Id-Version' still has initial default value > > Should this be set to something, or can I just ignore it? > > > Adrian > > _______________________________________________ > 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: From mgrigull at redhat.com Fri Nov 9 00:50:07 2012 From: mgrigull at redhat.com (Marco Grigull) Date: Fri, 09 Nov 2012 10:50:07 +1000 Subject: [zanata-users] translate.zanata.org upgrade 20121113 12:00 GMT+10 Message-ID: <509C533F.3070005@redhat.com> Hi, We will upgrade Zanata to 2.0.2 at midday on Tuesday the 13th. Expected outage time is around 90 minutes. Please tune into #zanata on freenode and save your work before the outage commences. Regards, Marco -- Marco Grigull, Systems Administrator, Engineering Operations 85 88229 / +61 7 3514 8229 From mgrigull at redhat.com Tue Nov 13 03:14:17 2012 From: mgrigull at redhat.com (Marco Grigull) Date: Tue, 13 Nov 2012 13:14:17 +1000 Subject: [zanata-users] translate.zanata.org upgrade 20121113 12:00 GMT+10 In-Reply-To: <509C533F.3070005@redhat.com> References: <509C533F.3070005@redhat.com> Message-ID: <50A1BB09.80607@redhat.com> This outage has been completed. On 09/11/12 10:50, Marco Grigull wrote: > Hi, > > We will upgrade Zanata to 2.0.2 at midday on Tuesday the 13th. Expected > outage time is around 90 minutes. > > Please tune into #zanata on freenode and save your work before the > outage commences. > > Regards, > Marco > > > -- Marco Grigull, Systems Administrator, Engineering Operations 85 88229 / +61 7 3514 8229 From alikins at redhat.com Mon Nov 19 15:59:50 2012 From: alikins at redhat.com (Adrian Likins) Date: Mon, 19 Nov 2012 10:59:50 -0500 Subject: [zanata-users] broken po files after adding msgid_plurals to pot files Message-ID: <50AA5776.3050003@redhat.com> I added a usage of ngettext, and the resulting msgid_plural field to my pot files. After I uploaded the pot files, the po files are not populating the field correctly. If I upload a pot with content like: #: ../src/subscription_manager/gui/installedtab.py:215 #, python-format msgid "Covered by contract %s through %s" msgid_plural "Covered by contracts %s through %s" msgstr[0] "" msgstr[1] "" The po files that I pull are populated like: "Covered by contract %s through %s" msgid_plural "Covered by contracts %s through %s" msgstr "" Which cause msgfmt to give errors like: po/ja.po:293:10: syntax error msgfmt: found 1 fatal error It seems like this is happening for po's that haven't had any changes made to them since uploading the pot file. Files that have had changes (as.po, for example) seem to be okay. Adrian From sflaniga at redhat.com Tue Nov 20 00:33:39 2012 From: sflaniga at redhat.com (Sean Flanigan) Date: Tue, 20 Nov 2012 10:33:39 +1000 Subject: [zanata-users] broken po files after adding msgid_plurals to pot files In-Reply-To: <50AA5776.3050003@redhat.com> References: <50AA5776.3050003@redhat.com> Message-ID: <50AACFE3.70801@redhat.com> Hi Adrian, Which client are you using? Sean. On 2012-11-20 01:59, Adrian Likins wrote: > > I added a usage of ngettext, and the resulting msgid_plural field to my > pot files. After I > uploaded the pot files, the po files are not populating the field > correctly. > If I upload a pot with content like: > > #: ../src/subscription_manager/gui/installedtab.py:215 > #, python-format > msgid "Covered by contract %s through %s" > msgid_plural "Covered by contracts %s through %s" > msgstr[0] "" > msgstr[1] "" > > The po files that I pull are populated like: > > "Covered by contract %s through %s" > msgid_plural "Covered by contracts %s through %s" > msgstr "" > > > Which cause msgfmt to give errors like: > > po/ja.po:293:10: syntax error > msgfmt: found 1 fatal error > > > It seems like this is happening for po's that > haven't had any changes made to them since uploading > the pot file. Files that have had changes (as.po, for > example) seem to be okay. > > Adrian > -- 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: From alikins at redhat.com Tue Nov 20 14:28:30 2012 From: alikins at redhat.com (Adrian Likins) Date: Tue, 20 Nov 2012 09:28:30 -0500 Subject: [zanata-users] broken po files after adding msgid_plurals to pot files In-Reply-To: <50AACFE3.70801@redhat.com> References: <50AA5776.3050003@redhat.com> <50AACFE3.70801@redhat.com> Message-ID: <50AB938E.9020207@redhat.com> On 11/19/2012 07:33 PM, Sean Flanigan wrote: > Hi Adrian, > > Which client are you using? > > Sean. zanata-python-client, from github 152170421690ae8b203f2f5636df548044bbc290 Adrian > > On 2012-11-20 01:59, Adrian Likins wrote: >> I added a usage of ngettext, and the resulting msgid_plural field to my >> pot files. After I >> uploaded the pot files, the po files are not populating the field >> correctly. >> If I upload a pot with content like: >> >> #: ../src/subscription_manager/gui/installedtab.py:215 >> #, python-format >> msgid "Covered by contract %s through %s" >> msgid_plural "Covered by contracts %s through %s" >> msgstr[0] "" >> msgstr[1] "" >> >> The po files that I pull are populated like: >> >> "Covered by contract %s through %s" >> msgid_plural "Covered by contracts %s through %s" >> msgstr "" >> >> >> Which cause msgfmt to give errors like: >> >> po/ja.po:293:10: syntax error >> msgfmt: found 1 fatal error >> >> >> It seems like this is happening for po's that >> haven't had any changes made to them since uploading >> the pot file. Files that have had changes (as.po, for >> example) seem to be okay. >> >> Adrian >> From sflaniga at redhat.com Wed Nov 21 04:37:27 2012 From: sflaniga at redhat.com (Sean Flanigan) Date: Wed, 21 Nov 2012 14:37:27 +1000 Subject: [zanata-users] broken po files after adding msgid_plurals to pot files In-Reply-To: <50AB938E.9020207@redhat.com> References: <50AA5776.3050003@redhat.com> <50AACFE3.70801@redhat.com> <50AB938E.9020207@redhat.com> Message-ID: <50AC5A87.4040704@redhat.com> You're right, it looks like the Python client is using msgstr instead of msgstr[0] for any plural strings which haven't been translated yet. Try github commit 26108dafb0a702c87acdd3b307de51d59c3adbcc or later, and let me know how it goes. On 2012-11-21 00:28, Adrian Likins wrote: > On 11/19/2012 07:33 PM, Sean Flanigan wrote: >> Hi Adrian, >> >> Which client are you using? >> >> Sean. > > zanata-python-client, from github 152170421690ae8b203f2f5636df548044bbc290 > > Adrian > >> >> On 2012-11-20 01:59, Adrian Likins wrote: >>> I added a usage of ngettext, and the resulting msgid_plural field to my >>> pot files. After I >>> uploaded the pot files, the po files are not populating the field >>> correctly. >>> If I upload a pot with content like: >>> >>> #: ../src/subscription_manager/gui/installedtab.py:215 >>> #, python-format >>> msgid "Covered by contract %s through %s" >>> msgid_plural "Covered by contracts %s through %s" >>> msgstr[0] "" >>> msgstr[1] "" >>> >>> The po files that I pull are populated like: >>> >>> "Covered by contract %s through %s" >>> msgid_plural "Covered by contracts %s through %s" >>> msgstr "" >>> >>> >>> Which cause msgfmt to give errors like: >>> >>> po/ja.po:293:10: syntax error >>> msgfmt: found 1 fatal error >>> >>> >>> It seems like this is happening for po's that >>> haven't had any changes made to them since uploading >>> the pot file. Files that have had changes (as.po, for >>> example) seem to be okay. >>> >>> Adrian >>> > -- 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: From damason at redhat.com Thu Nov 22 05:03:14 2012 From: damason at redhat.com (David Mason) Date: Thu, 22 Nov 2012 00:03:14 -0500 (EST) Subject: [zanata-users] Podcast episode about Zanata In-Reply-To: <2087241338.12343624.1353560060835.JavaMail.root@redhat.com> Message-ID: <170356134.12344176.1353560594900.JavaMail.root@redhat.com> Hi All, I stayed up last night to appear on FLOSS Weekly to talk about Zanata, our translation framework. You can watch or listen to the episode at http://twit.tv/show/floss-weekly/233 Cheers, David Mason Software Engineer L10n Engineering Red Hat, Asia-Pacific Pty Ltd Level 1, 193 North Quay Brisbane 4000