Þann mið 22.ágú 2018 09:01, skrifaði Johnny A. Solbu:
On Wednesday 22 August 2018 10:37, Sveinn í Felli wrote:
Did you create your .tx/config by initiating in the tx-client ?:
tx init
Yes, but it halts with this: «Enter the path to your local source file:»
Apparently it assumes I have a local git copy of the code, with the translation files in a subdirectory. But the project doesn't have translations in revision control, as far as I can figure out.
Should not be necessary, after the "tx set" command a folder called "translations" will be created, containing all the sub-projects.
Try to do this in a totally "virgin" folder.
and then:
tx set --auto-remote https://www.transifex.com/projects/p/yourproject
That worked, but now I have another question. How did you figure out that this is the url one should use?
I can't find any of this documented anywhere.
Actually, it was a kind of a lucky googling; the Transifex documentation is/was outdated after some structural changes a couple of years ago; my former setup stopped functioning, but I found an example mentioned in some docs for a totally unrelated project.
One thing I recall; which version of the tx-client are you using? The older one from the standard repositories (Linuxmint 17.x - Trusty) does not work anymore, you have to upgrade/reinstall via PIP [1]. There may be some issues on debian-based distros [2].
Mine gives: tx --version 0.13.4, py 2.7, x86_64
Hilsen, Sveinn
[1: https://docs.transifex.com/client/installing-the-client] [2: https://github.com/pypa/pip/issues/5221#issuecomment-382069604]