diff --git a/Makefile b/Makefile index e5ddfdf8e4..0c17fe5c91 100644 --- a/Makefile +++ b/Makefile @@ -20,3 +20,17 @@ extract_translations: push_translations: # Push source strings to Transifex for translation i18n_tool transifex push + +pull_translations: + ## Pull translations from Transifex + git clean -fdX conf/locale + i18n_tool transifex pull + i18n_tool extract + i18n_tool dummy + i18n_tool generate + python manage.py lms --settings='devstack' compilejsi18n + python manage.py cms --settings='devstack' compilejsi18n + i18n_tool generate --strict + git clean -fdX conf/locale/rtl + git clean -fdX conf/locale/eo + i18n_tool validate