[Qgis-community-team] Transifex updates

Otto Dassau dassau at gbd-consult.de
Thu Mar 21 11:53:15 PDT 2013


Am Wed, 20 Mar 2013 21:53:54 +0200
schrieb Tim Sutton <tim at linfiniti.com>:

> Hi
> 
> On Wed, Mar 20, 2013 at 7:33 PM, matteo <matteo.ghetta at gmail.com> wrote:
> 
> > Hi all,
> >
> > the documentation on transifex is already synchronized with that of git
> > (branch manual_en_v.18)?
> > If so, we should see the translated files on transifex... but I cannot
> > see them.
> >
> > And if I try to upload the file translated on transifex but it says:
> > there is a syntax error in your file
> >
> >
> Could you please email me the file you were trying to upload (offlist).
> 
> Yes I ran today git pull / pre translate / push po files to transifex. It
> was still busy pushing them to transifex when I left my office, but they
> are probably uploaded by now.
> 
> One improvemnt I was thinking about is to embed the QGIS version number in
> the transifex resource names so that it is clear which version of QGIS each
> file belongs to....I will look and see if this is a viable approach.
> 
> Regards
> 
> Tim

I would also be interested. According to this help page:
http://help.transifex.com/intro/faq.html#what-should-i-do-when-my-file-has-syntax-errors

I used msgfmt -c getting_started.po and found that

- Fuzzy headers is one reason. If I remove the word fuzzy, this error
  disappears.
- A msgstr that has more or different %s variables than the msgid is another
  reason

at least in my file.

using msgfmt --check getting_started.po gives a more detailed description.
And after I fixed it, I could upload the po file.

But this seems to be a lot of work if all files have to be checked manually
that way and I haven't found a better solution yet.

Regards
Otto




More information about the Qgis-community-team mailing list