mc/maint/utils/sync-transifex
Slava Zanko 1c6d859629 Reorder files in maint/ subdirectory.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-06-03 10:58:14 +03:00
..
config.d Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
.gitignore Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
functions Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
mc.hint-fromTransifex.sh Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
mc.hint-toTransifex.sh Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +03:00
po-fromTransifex.sh Reorder files in maint/ subdirectory. 2013-06-03 10:58:14 +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 {} \;