Skip to content

Translations: Checking transifex PR

Vicky Vergara edited this page Oct 23, 2019 · 9 revisions

Instructions

git fetch upstream
git checkout upstream/translations...
git checkout -b <branch>

python environment activate

 source py-env/bin/activate
pip install -r requirements.txt
mkdir -p build
rm -rf build/*
cd build

Building the documentation to look like in the web page

cmake  -DDOC_USE_BOOTSTRAP=ON -DWITH_DOC=ON -DES=ON ..

If bootstrap is not installed

cmake -DWITH_DOC=ON -DES=ON ..

If there are not errors, approve the pr

How to check one language

python environment

python environment activate

 source py-env/bin/activate

Install the software for generating the documentation

pip install -r requirements.txt

Install the transifex client

pip install transifex-client

To automatically work with transifex

vi ~/.transifexrc 

and add the following contents

[https://www.transifex.com]
api_hostname = https://api.transifex.com
password = <your transifex password>
username = <your transifex username>

work with the language

Download all the transaltions in spanish

tx pull -l es -f

work on build:

cd build
rm -f build

Follow this instructions

work with one file

Pull one translated file:

tx pull  -l es -r pgrouting.drivingdistance-category-po--master
Clone this wiki locally