Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69583

Add import to tool_customlang

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_400_STABLE
    • MOODLE_310_STABLE
    • MDL-69583-master
    • Hide
      Test CLI version:
      1. Download the attached customlang_en.zip. Take note of its path.
      2. Open a terminal in your instance root path
      3. Execute the PHP command:

        php  admin/tool/customlang/cli/import.php --source=/path/to/customlang_en.zip
        

        1. Check "String core/administrationsite updated successfully." appears in the output
      4. Now execute: php  admin/tool/customlang/cli/import.php --checkin
        1. Check "Save changes to the language pack" appears in the output
      5. Open a browser and login in the instance as an admin
        1. Check that "Site administration" link (located in the drawer in Boost and in the settings block in Classic) is now "Uploaded custom string"
      Show
      Test CLI version: Download the attached  customlang_en.zip . Take note of its path. Open a terminal in your instance root path Execute the PHP command: php  admin/tool/customlang/cli/import.php --source=/path/to/customlang_en.zip Check "String core/administrationsite updated successfully." appears in the output Now execute: php  admin/tool/customlang/cli/import.php --checkin Check "Save changes to the language pack" appears in the output Open a browser and login in the instance as an admin Check that "Site administration" link (located in the drawer in Boost and in the settings block in Classic) is now "Uploaded custom string"
    • Moppies Kanban

      Project from MootDACH20 - Devcamp. With this new feature, the tool_customlang could import zips or php with language customization. Libraries to parse the PHP file are based on the current AMOS implementation.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 3 hours
                4d 3h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.