Re: transifex-client (tx) – Hvordan i all verden settes den opp?
Sveinn í Felli <[email protected]> Wed, 22 Aug 2018 09:57:05 +0000
| Newsgroups | gmane.comp.internationalization.norwegian |
|---|---|
| Message-ID | <[email protected]> |
=DEann mi=F0 22.=E1g=FA 2018 09:01, skrifa=F0i Johnny A. Solbu: > On Wednesday 22 August 2018 10:37, Sveinn =ED Felli wrote: >> Did you create your .tx/config by initiating in the tx-client ?: >> >> tx init > = > Yes, but it halts with this: > =ABEnter the path to your local source file:=BB > = > Apparently it assumes I have a local git copy of the code, with the trans= lation 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] _______________________________________________ E-postlista i18n-no [email protected] https://lister.ping.uio.no/mailman/lister.ping.uio.no/listinfo/i18n-no