-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to tell tx where to download the files? #171
Comments
The root configuration holds your API token for interacting with transifex while the local configuration holds your project's setup, ie which remote resources map to which local files (and what file format they use and potential language mappings etc). The reason for this distinction is that local configurations can be committed to your version control system and thus shared with other teammates while API tokens shouldn't. If you don't use the
It seems you are correct. We don't have a way to override the "working directory" of the application. So you will need to |
As a workaround you can edit the ./.tx/config file manually. Just add the full absolute target path to the lines
If asked, I'd consider such a flag useful for temporary out of default workflow testing and checking translations without touching current state of default local copy by redirecting them to another directory. But as said, the same can be achieved by the described workaround as well. |
In the old
tx
i used:/usr/local/bin/tx --root /home/username/lang/convert pull -a
and the files was downloaded in to a directory calleden_examplexml
full path/home/username/lang/convert/en_examplexml
and it doesn't matter where i ran the tx command from.In this new version i run
tx --config /home/username/lang/convert/.tx/config pull -a
, but this new version will create the directoryen_examplexml
in the same directory i run tx from and download the files in toen_examplexml
.I have tried to use
--root-config
, but it want a file and not a directory.If i add the path to the config after --root-config file it tell me that i need to run
tx init
.So, what is the difference between
--root-config
and--config
?It seems that i'm forced to run
tx
in the same directory as the.tx
directory or what am i doing wrong?The text was updated successfully, but these errors were encountered: