Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4343

Remove PHP dependancy to build langpacks

    XMLWordPrintable

Details

    • Improvement
    • Status: Tested
    • Minor
    • Resolution: Unresolved
    • 4.1.1
    • None
    • Travis
    • 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:

      1. Auto generate json language files in https://github.com/moodlehq/moodle-local_moodlemobileapp. Already done using github actions. This will use PHP.
      2. Update update_lang.sh file to update_langpacks.sh that will:
        1. Download the generated langpacks on task 1.
        2. Select strings needed by the current app.
        3. Detect translated languages and include them into the config.
        4. Generate the local translation module.
        5. Override individual english language files using gulp.

      Attachments

        Activity

          People

            pferre22 Pau Ferrer
            pferre22 Pau Ferrer
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: