Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1046

Language variations are not loaded automatically

XMLWordPrintable

    • Hide

      To test this, the setting current_language cannot be set. If you ever changed the language via app settings, you need to either uninstall the app or use $mmConfig.delete('current_language').

      1. Install the app in a real device that has a language variation set supported by the app (like es-mx)
      2. Check that the right language is loaded. There are several ways to check it:
        • Open the console and check that an error like this appears with your language variation:

          GET http://localhost:8100/build/lang/es-mx.json 404 (Not Found)
          

        • Create a fake translation file for that language variation. E.g. I duplicated build/lang/en.json, renamed it to es-mx.json and added "MX" to all the strings. Install the app and check that all the messages shown have that "MX".
      Show
      To test this, the setting current_language cannot be set. If you ever changed the language via app settings, you need to either uninstall the app or use $mmConfig.delete('current_language'). Install the app in a real device that has a language variation set supported by the app (like es-mx) Check that the right language is loaded. There are several ways to check it: Open the console and check that an error like this appears with your language variation: GET http://localhost:8100/build/lang/es-mx.json 404 (Not Found) Create a fake translation file for that language variation. E.g. I duplicated build/lang/en.json, renamed it to es-mx.json and added "MX" to all the strings. Install the app and check that all the messages shown have that "MX".
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      If you mobile device is configured to use a language variation (Mexican spanish) the language is not automatically loaded, instead, the main language (spanish) is displayed.

      You need to change the language in the main menu for displaying the correct language

            dpalou Dani Palou
            jleyva Juan Leyva
            Frédéric Massart Frédéric Massart
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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