[Qgis-community-team] pull req of translated files

Otto Dassau dassau at gbd-consult.de
Thu Jan 10 03:16:17 PST 2013


Hi Matteo,

Am Thu, 10 Jan 2013 12:04:26 +0100
schrieb matteo <matteo.ghetta at gmail.com>:

> Hi Otto,
>
> thanks for your patience. I updated the repo and I run build.sh it and 
> it works! But, looking at the html files I noticed that the problem of 
> the untranslated strings still remains.

mmmh, this is something I don't know. I guess the translation files are not
updated correctly. 

Maybe someone else can help here? Is there a typical error users can make?
I remember the dutch translators had similar problems?  

> > I added some minor updates, so the script can be used in general under
> > linux. But please remember, the usual process is:
> >
> > a) update docs repo with git pull
> > b) create translation files with pre_translate.sh <Locale>
> > c) translate
> > d) create docs with post_translate <Locale>
> > e) check docs
> > f) commit and push changes back to repo
> >
> Until now I just translated the files in the doc folder, and then I 
> added them and made a commit. Why should I generate the translation 
> files if they already exist?

The translation files for your language need to be updated. Maybe that's
why it didn't work for you.

> If I run pre_translate.sh it I get:
> 
> cp: impossibile eseguire stat di "resources/en/*": File o directory non 
> esistente
> Error: Source directory doesn't contain conf.py file.
> Updating translation catalog for it:
> ------------------------------------
> cp: impossibile eseguire stat di "resources/en/*": File o directory non 
> esistente
> 
> Sorry Otto, but I'm really a newbye of all these processes......

you need to run the scripts from the QGIS-Documentation folder:

for example:
sh scripts/pre_translate.sh it

Does that work?

Regards
Otto



More information about the Qgis-community-team mailing list