mc/maint/utils/sync-transifex
Andrew Borodin f8bdfcc21c Get ru.po from Transifex.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2015-11-10 21:49:25 +03:00
..
config.d Get ru.po from Transifex. 2015-11-10 21:49:25 +03:00
.gitignore Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
functions Fix for running TR-utilities under source root 2013-11-29 17:00:46 +03:00
mc.hint-fromTransifex.sh sync-transifex: fix pathes for calculating MC source root 2013-07-10 12:50:42 +03:00
mc.hint-toTransifex.sh sync-transifex: fix pathes for calculating MC source root 2013-07-10 12:50:42 +03:00
po-fromTransifex.sh sync-transifex: fix pathes for calculating MC source root 2013-07-10 12:50:42 +03:00
po-toTransifex.sh Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
README.txt Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00

== Pre-requirements ==

=== List of required apps ===

* tx (A transifex client. http://help.transifex.com/features/client/#user-client-08-install)
* po4a (A tool maintaining translations anywhere. http://alioth.debian.org/projects/po4a/)


=== An artifacts configuration ===

Put in the ~/.transifexrc file these lines:

[https://www.transifex.net]
hostname = https://www.transifex.net
username = YourTxLogin
password = YourTxPassword
token = 

== Interact with Transifex via scripts ==

To get all translations from Transifex run:

find ./ -name '*-fromTransifex.*' -exec {} \;

To put source files to Transifex run:

find ./ -name '*-toTransifex.*' -exec {} \;