83
edits
| Line 110: | Line 110: | ||
pip install transifex-client | pip install transifex-client | ||
</source> | </source> | ||
Then you | Then you have to initialize your TX environment. This is done by running '''tx init''' into dolibarr project root directory. | ||
<source lang="bash"> | <source lang="bash"> | ||
cd git/dolibarr | cd git/dolibarr | ||
| Line 141: | Line 141: | ||
`-- .tx | `-- .tx | ||
</pre></code> | </pre></code> | ||
The current config file can be downloaded from https://github.com/Dolibarr/dolibarr , put it into .tx directory, overwriting the one created by ''tx init'' | |||
This project configuration file is used to store the project’s details and the file-to-resource mappings. | This project configuration file is used to store the project’s details and the file-to-resource mappings. | ||
That is a sample of what the config file contains: | |||
<source lang="ini"> | <source lang="ini"> | ||
[main] | [main] | ||
| Line 167: | Line 170: | ||
trans.<lang>: this is used for translation files that don’t follow a common naming schema and the file expression cannot be used to track them. ''not mandatory''<br/> | trans.<lang>: this is used for translation files that don’t follow a common naming schema and the file expression cannot be used to track them. ''not mandatory''<br/> | ||
host: in case the project doesn’t use the default Transifex server as specified in the [main] section, it can override it using this option. ''not mandatory''<br/> | host: in case the project doesn’t use the default Transifex server as specified in the [main] section, it can override it using this option. ''not mandatory''<br/> | ||
====TX Client use==== | ====TX Client use==== | ||
edits