-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: atlas push pull scripts: FC-55
Extract will extract the English language resources from all modules to the I18N folder. Pull will pull all other languages translations from the openedx-traslations repository to the i18n folder then split them to thier modules.
- Loading branch information
Showing
5 changed files
with
448 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,6 @@ local.properties | |
/.idea/ | ||
*.log | ||
/config_settings.yaml | ||
.venv/ | ||
i18n/ | ||
**/values-*/strings.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
clean_translations_temp_directory: | ||
rm -rf i18n/ | ||
|
||
translation_requirements: | ||
pip install -r i18n_scripts/requirements.txt | ||
|
||
pull_translations: clean_translations_temp_directory | ||
atlas pull $(ATLAS_OPTIONS) translations/openedx-app-android/i18n:i18n | ||
python i18n_scripts/translation.py --split | ||
|
||
extract_translations: clean_translations_temp_directory | ||
python i18n_scripts/translation.py --combine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
openedx-atlas==0.6.0 | ||
lxml==5.2.2 |
Oops, something went wrong.