Translator documentation: Difference between revisions

Jump to navigation Jump to search
m
Line 163: Line 163:
The current config file can be downloaded from https://github.com/Dolibarr/dolibarr
The current config file can be downloaded from https://github.com/Dolibarr/dolibarr


===TX Client use===
====TX Client use====
Some useful information on "tx push" and "tx pull" commands.
Some useful information on "tx push" and "tx pull" commands.


====tx push====
'''tx push'''
Used to push changes from your computer to Transifex server<br>
Used to push changes from your computer to Transifex server<br>
Additional options for the tx push command are:
Additional options for the tx push command are:
Line 179: Line 179:
--no-interactive - Don't require user input when forcing a push</pre></code>
--no-interactive - Don't require user input when forcing a push</pre></code>


====tx pull====
'''tx pull'''
Used to pull changes from Transifex server to your computer<br/>
Used to pull changes from Transifex server to your computer<br/>
Additional options for the tx pull command are:
Additional options for the tx pull command are:
Line 193: Line 193:
--minimum_perc=VALUE - Specify the minimum acceptable percentage of a translation in order to download it.</pre></code>
--minimum_perc=VALUE - Specify the minimum acceptable percentage of a translation in order to download it.</pre></code>


====Examples====
'''Examples'''
To pull all translation files for every language you just have to type:
To pull all translation files for every language you just have to type:


<code>tx pull -a</code>
<source lang="bash">tx pull -a</source>


To pull all files for a specific language only (Italian for example):
To pull all files for a specific language only (Italian for example):


<code>tx pull -l it_IT</code>
<source lang="bash">tx pull -l it_IT</source>


To push all source files (the language files of the "main" language) just type:
To push all source files (the language files of the "main" language) just type:


<code>tx push -s</code>
<source lang="bash">tx push -s</source>


To push only a specific source file (admin.lang for example) type:
To push only a specific source file (admin.lang for example) type:


<code>tx push -s -r dolibarr.admin</code>
<source lang="bash">tx push -s -r dolibarr.admin</source>


== Integrate its translation into Dolibarr ==
== Integrate its translation into Dolibarr ==

Navigation menu