From 634e15275207b0c6a684112c8ebb11e96b133142 Mon Sep 17 00:00:00 2001 From: ayub-khan Date: Thu, 23 Nov 2017 17:05:02 +0500 Subject: [PATCH] Make target for pulling translations --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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