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

Display a warning when missing some locales on server

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-62728-locale_5
    • Hide
      Linux
      1. Check the locales installed in your system

        locale -a
        

      2. Go to "Site administration / Language / Language packs"
      3. Install one or more language packs which are not in the list of locales installed in your system. For example, if the Spanish language (e.g. es_ES.UTF-8) is not in the list of locales installed in your system, install the "Español - Internacional ‎(es)" language pack on your Moodle instance.
      4. CHECK that an error message is displayed that indicates that the language packs that you have installed are not fully supported by your server.
      Windows
      1. Go to "Site administration / Language / Language packs"
      2. Install the "Asturianu ‎(ast)" and "Bosanski ‎(bs)" language packs. (These don't seem to be supported on a Windows 7 Enterprise machine)
      3. CHECK that an error message is displayed that indicates that the language packs that you have installed are not fully supported by your server.
      Show
      Linux Check the locales installed in your system locale -a Go to " Site administration / Language / Language packs " Install one or more language packs which are not in the list of locales installed in your system. For example, if the Spanish language (e.g. es_ES.UTF-8) is not in the list of locales installed in your system, install the "Español - Internacional ‎(es)" language pack on your Moodle instance. CHECK that an error message is displayed that indicates that the language packs that you have installed are not fully supported by your server. Windows Go to " Site administration / Language / Language packs " Install the "Asturianu ‎(ast)" and "Bosanski ‎(bs)" language packs. (These don't seem to be supported on a Windows 7 Enterprise machine) CHECK that an error message is displayed that indicates that the language packs that you have installed are not fully supported by your server.

      When locales are not configured properly, dates display may seems it's ignoring:

      • Course's forced language setting
      • Dates are still displayed based on global site language setting.

      It would help to add a warning when some locales are missing on this page: admin/tool/langimport/index.php

        1. example.png
          example.png
          22 kB
        2. listed-unsupported-lang-packs.png
          listed-unsupported-lang-packs.png
          42 kB
        3. locale.png
          locale.png
          27 kB
        4. wrong_locales_windows.png
          wrong_locales_windows.png
          45 kB

            jboulen Julien Boulen
            jboulen Julien Boulen
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Andrew Lyons Andrew Lyons
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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