Translator documentation: Difference between revisions

Jump to navigation Jump to search
Line 155: Line 155:


===TX Client use===
===TX Client use===
Some useful information on "tx push" and "tx pull" commands.
'''tx push'''<br/>
Used to push changes to Transifex<br>
<code><pre>Additional options for the tx push command are:
-h - Shows the help screen for the command
-l <lang> - Specify which translations you want to push (defaults to all)
-r <resource> - Specify the resource for which you want to push the translations (defaults to all)
-f - Push source files without checking modification times
--skip - Don't stop on errors. Useful when pushing many files concurrently.
-s - Push the source file to the server
-t - Push the translation files to the server
--no-interactive - Don't require user input when forcing a push</pre></code>
'''tx pull'''<br/>
Used to pull changes from Transifex<br/>
Additional options for the tx pull command are:
-h - Shows the help screen for the command
-l <lang> - Specify which translations you want to pull (defaults to all)
-r <resource> - Specify the resource for which you want to pull the translations (defaults to all)
-a - Fetch all translation files from server (even new ones)
-s - Force the fetching of the source file (default: False)
-f - Force download of translations files
--skip - Don't stop on errors. Useful when pushing many files concurrently.
--disable-overwrite - By default Transifex will fetch new translations files and replace existing ones. Use this flag if you want to disable this feature.
--minimum_perc=VALUE - Specify the minimum acceptable percentage of a translation in order to download it.
Note: If pulling a remote resource for the first time, the -l <lang> parameter (if set) must use the Transifex language (i.e. en_GB), otherwise the resource will not be downloaded.


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

edits

Navigation menu