Commit 49d069dd by Sarina Canelake

RTL i18n tooling

parent fcae6b57
......@@ -130,6 +130,21 @@ def i18n_transifex_pull():
@task
def i18n_rtl():
cmd = "i18n_tool transifex"
sh(cmd + " rtl")
print("Now generating langugage files...")
cmd = "i18n_tool generate"
sh(cmd + " --rtl")
print("Committing translations...")
sh('git clean -fdX conf/locale')
sh('git add conf/locale')
sh('git commit --amend')
@task
@needs(
"pavelib.i18n.i18n_transifex_pull",
"pavelib.i18n.i18n_extract",
......
......@@ -30,4 +30,4 @@
-e git+https://github.com/edx/edx-ora2.git@release-2014-09-12T14.26#egg=edx-ora2
-e git+https://github.com/edx/opaque-keys.git@a7c506befdf9b97bbbb6961e0b0c7fa4807003eb#egg=opaque-keys
-e git+https://github.com/edx/ease.git@97de68448e5495385ba043d3091f570a699d5b5f#egg=ease
-e git+https://github.com/edx/i18n-tools.git@0d7847f9dfa2281640527b4dc51f5854f950f9b7#egg=i18n-tools
-e git+https://github.com/edx/i18n-tools.git@56f048af9b6868613c14aeae760548834c495011#egg=i18n-tools
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment