Changes between Version 4 and Version 5 of TxRepoSetup
- Timestamp:
- 01/10/21 12:14:18 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TxRepoSetup
v4 v5 8 8 == About Transifex == 9 9 10 [http://www.transifex.com Transifex] is a modern, open-source localization platform. It’s a web system which automates the translation workflow for complex international projects. 11 12 [http://www.transifex.com Transifex] seamlessly integrates with existing content infrastructure, such as a software development repository or content management system, using a rich API. Translation is "crowd-sourced" to a global network of human translators using smart and agile translation techniques adopted from the open source ecosystem. 10 [http://www.transifex.com Transifex] is a modern, open-source localization platform. It’s a web system which automates the translation workflow for complex international projects. Transifex seamlessly integrates with existing content infrastructure, such as a software development repository or content management system, using a rich API. Translation is "crowd-sourced" to a global network of human translators using smart and agile translation techniques adopted from the open source ecosystem. 13 11 14 12 == Getting Transifex client == 15 13 16 === Getting from sources ===17 18 You can download the repository either using git:19 14 {{{ 20 git clone git://github.com/transifex/transifex-client.git 21 }}} 22 or you can directly download from the [http://code.transifex.com/transifex-client/downloads repository web-page]. 23 24 To install it, run follow commands: 25 {{{ 26 $ cd transifex-client 27 $ sudo python setup.py install 28 }}} 29 30 === Getting binary files === 31 ==== Common distributive ==== 32 {{{ 33 $ sudo easy_install --upgrade transifex-client 34 }}} 35 ==== Fedora ==== 36 {{{ 37 $ sudo yum install transifex-client 15 sudo dnf install transifex-client 38 16 }}} 39 17 … … 49 27 === tx-repository initialization === 50 28 51 We have two main branches: master and *-stable. These branches may be different by features (and by translated strings too), therefore we have a different pot-resources on [http://www.transifex.com Transifex].Transifex client uses mapping to local files as one directory per tx-resource, but git-repository provide several branches in one directory therefore I suggest to separate TX-repo and GIT-repo in different directories. We'll mark these directories as $TX_REPO and $GIT_REPO.29 Transifex client uses mapping to local files as one directory per tx-resource, but git-repository provide several branches in one directory therefore I suggest to separate TX-repo and GIT-repo in different directories. We'll mark these directories as $TX_REPO and $GIT_REPO. 52 30 53 31 Run follow commands: … … 73 51 source_lang = en 74 52 75 [mc.mcpot-stable]76 file_filter = stable/<lang>.po77 source_file = stable/mc.pot78 source_lang = en79 80 53 [mc.mc_hint] 81 54 file_filter = mc.mc_hint/<lang>.po