Changes between Version 1 and Version 2 of the_docs_strikes_back


Ignore:
Timestamp:
12/28/17 11:56:11 (7 years ago)
Author:
bakaniko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • the_docs_strikes_back

    v1 v2  
    1313= Installing Transifex client =
    1414
    15 {{{sudo pip install transifex-client
     15{{{
     16sudo pip install transifex-client
    1617
    1718# check it is working
     
    2021If you followed the previous part [https://github.com/cvvergara/OSGeoLive-doc/wiki/Building-the-docs Building the docs], the pot files are already made.
    2122
    22 {{{# pot files of the source language (english)
     23{{{
     24# pot files of the source language (english)
    2325ls -R locale/pot
    2426
    2527# po file for the locales (e.g. Spanish)
    26 ls -R locale/es}}}
     28ls -R locale/es
     29}}}
     30
    2731The pot files are pushes to the repository (see this file for change it).
    2832
     
    3337see the [https://github.com/cvvergara/OSGeoLive-doc/blob/cm_fix_header/doc/CMakeLists.txt#L101 locale command]
    3438
    35 {{{sphinx-intl update-txconfig-resources --pot-dir locales/pot --transifex-project-name osgeolive
     39{{{
     40sphinx-intl update-txconfig-resources --pot-dir locales/pot --transifex-project-name osgeolive
    3641}}}
    3742= Pushing to Transifex =
     
    5560Build the pot/po files
    5661
    57 {{{cd build
     62{{{
     63cd build
    5864cmake  -DLOCALE=ON ..
    5965make locale > locale_log.txt
    60 cd ..}}}
     66cd ..
     67}}}
    6168List .pot files
    6269