/
contribute_to_doc_translation.txt
50 lines (29 loc) · 1.16 KB
/
contribute_to_doc_translation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.. _contribute_to_doc_translation:
==================================
How to Translate the Documentation
==================================
All documentation is written in English as the master language but can be translated into your native language.
This write up will show you how to translate the documentation. There are different methods to translate the
documentation and here we list a few.
Translate using Github Locally
==============================
Here we assume you have GitHub running locally and that you are familiar with the command line.
#. Get latest version from GitHub:
.. code-block:: console
$ git pull
#. Get latest version from Transifex
(it should be synced with Github, but just in case):
.. code-block:: console
$ tx pull -a
#. Edit your files
for example (if using vi):
.. code-block:: console
$ vi i18n/it/LC_MESSAGES/index.po
#. Build the documentation
now, before committing and pushing, build the doc to see if everything worked smoothly:
.. code-block:: console
$ make html LANG=it
#. Push changes
if everything worked well, push the changes:
.. code-block:: console
$ tx push -s -t