Details
-
Improvement
-
Status: Tested
-
Minor
-
Resolution: Unresolved
-
4.1.1
-
None
-
-
MOODLE_401_STABLE
-
Moodle Apps - 2023 Sprint i2.2
Description
Currently we're using PHP to build app langpacks, this is slow in CI so it's better if we can remove this dependancy.
Tasks:
- Auto generate json language files in https://github.com/moodlehq/moodle-local_moodlemobileapp. Already done using github actions. This will use PHP.
- Update update_lang.sh file to update_langpacks.sh that will:
- Download the generated langpacks on task 1.
- Select strings needed by the current app.
- Detect translated languages and include them into the config.
- Generate the local translation module.
- Override individual english language files using gulp.