[Qgis-community-team] Transifex as an alternative approach to Pootle?

Paolo Corti pcorti at gmail.com
Tue Oct 30 08:01:41 PDT 2012


Hi Richard

On Tue, Oct 30, 2012 at 2:57 PM, Richard Duivenvoorde <richard at duif.net> wrote:
>> I have then realized that git commit is still not working, as it looks
>> like the git clone in server has many difference from the original
>> repository. Can I safely remove it and reclone it?
>
> I would think: yes (Otto?), but please keep the old po file (specially for
> the Spanish people: apparently there has been somebody pretty busy
> translating).
> Dutch can be thrown away anyway :-)

I am talking about the git clone used to build the docs.
For some reasons it has differences from the master, try git status over it.

I am afraid the old files are useless without using the msgmerge
command on master files.
This was documented in the readme.rst file, now that information is missing:
https://github.com/qgis/QGIS-Documentation/blob/5cfffb88fbec47b6039e52abbc3d750e00b6434b/readme.rst

>
> Do you have some kind of working process in mind?
>
> Or can you maybe somewhere write down the technical Pootle process so we can
> as a community think about a working process?
>

The basic steps are:
* editor edits translation, for example using this page for the
preamble.rst in "Gentle GIS introduction":
http://translate.qgis.org/it/qgis/LC_MESSAGES/gentle_gis_introduction/00_preamble.po/translate/
* after the edits, editor can commit and push changes going to the
review page: http://translate.qgis.org/it/qgis/LC_MESSAGES/gentle_gis_introduction/review.html
(clicking on "Commit to VCS")
* from the same page, before pushing, the editor can pull before
pushing (cliking on "Update from VCS")

It would be nice to create a Pootle for QGIS user guide, but I am out
of time nowadays :(

> Questions I have:
>
> - is Pootle pushing and pulling (and merging and rebase-ing) the main Github
> repo? I mean, if I add some new rst file somewhere, and running the
> pre_translate.sh script. Will the po file show up in Pootle after a while?
>

The git repository that Pootle is using is, at this time, the same one
being used for building the documentation.
So it is automatically pulled as per crontab.
And Pootle will "see" new files eventually added to the central repository.

> - should we make Pootle the only way to contribute translations? Or is it
> also possible to 'lock' some rst file and for example do the translation of
> that file outside of Pootle via Linguist? And push it to Github and it get's
> picked up by Pootle again?
>

I see Pootle just as a replacement for people willing to contribute
without the overhead of mastering git.
And, at some extent, as a way to get general statistics from the on
going translation effort.

I have added qgis-community in copy to this email, as I think this is
information to share.
regards

p

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the Qgis-community-team mailing list