Translator documentation: Difference between revisions

Jump to navigation Jump to search
Line 115: Line 115:
tx init
tx init
</source>
</source>
Keep default value for Transifex instance, then enter your Transifex login and password.
Accept to overwrite config file. Keep default value for Transifex instance, then enter your Transifex login and password.
After this a config files has been created into '''.tx/config''' in project's root.
 
After this, a .transifexrc has been created into your HOME dir and the config files has been created into '''.tx/config''' in project's root.
So your directory's contents will look like that:
So your directory's contents will look like that:
<code><pre>
<code><pre>
Line 142: Line 143:
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.


Edit the config file with following content:
Restore content of the .tx/config file with following content:
<source lang="ini">
<source lang="ini">
[main]
[main]
Line 153: Line 154:
type = MOZILLAPROPERTIES
type = MOZILLAPROPERTIES
</source>
</source>
Here is an explanation of the sections and options used in the config file:
Here is an explanation of the sections and options used in the config file:
<nowiki>[main] section</nowiki>
<nowiki>[main] section</nowiki>

Navigation menu