[Qgis-community-team] Add language to QGIS documentation website

Otto Dassau dassau at gbd-consult.de
Mon Apr 15 03:36:16 PDT 2013


Hi Richard,

Am Mon, 15 Apr 2013 11:17:46 +0200
schrieb Richard Duivenvoorde <richard at duif.net>:

> On 13-04-13 16:09, Otto Dassau wrote:
> > Hi Richard,
> >
> > I got some translations for pt_BR and would like to add that language to
> > the documentation, at least for 1.8. How can I do that? Is it documented
> > somewhere?
> 
> Hi Otto,
> 
> it is more or less written down here: 
> https://github.com/qgis/QGIS-Documentation
> 
> I see that there are already files available apparently:
> 
> https://github.com/qgis/QGIS-Documentation/tree/master/i18n/pt_BR
> 
> And it is generated because it is in the LOCALE var of the scripts:
>
> https://github.com/qgis/QGIS-Documentation/blob/master/themes/qgis-theme/layout.html
> 
> You can see it here:
> 
> http://documentation.qgis.org/2.0/html/pt_BR/docs/user_manual/index.html

yes, I added it, so they can have a look, what they have done.
 
> Only thing is missing is the generating of the little clickable flag. 
> That is hardcoded (but commented) in the Sphinx template layout file:
> 
> https://github.com/qgis/QGIS-Documentation/blob/master/themes/qgis-theme/layout.html
> 
> just remove the comments in line 168, generate the docs again and there 
> should be a pt_BR flag...
> 
> Ok?

yes, fine. Just didn't know where to do it. It will show up now.

Thanks
Otto




More information about the Qgis-community-team mailing list