[Qgis-community-team] Add language to QGIS documentation website
    Richard Duivenvoorde 
    richard at duif.net
       
    Mon Apr 15 02:17:46 PDT 2013
    
    
  
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
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?
Regards,
Richard
    
    
More information about the Qgis-community-team
mailing list