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

JS loaded strings don't match Moodle language setting

    XMLWordPrintable

Details

    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • MDL-66725-master
    • Hide

      Note: For this test, you system language and browser language should first be set to English.

      All as admin user:

      Adding a block steps

      1. Install German (DE) language on your Moodle site but leave the user's default (set in the header) as EN.
      2. Go to site home and set DE in the header.
      3. Try to add any block.
      4. Verify the block selector modal displays all strings in the user's language (in this case, DE).

      Enrol user steps:

      1. Set the language in the header to DE.
      2. In a course, go to Participants
      3. Click the "Enrol users" (translated) button
      4. Verify all elements of the enrol modal show the strings in the user's lang (in this case, DE).
      Show
      Note: For this test, you system language and browser language should first be set to English. All as admin user: Adding a block steps Install German (DE) language on your Moodle site but leave the user's default (set in the header) as EN. Go to site home and set DE in the header. Try to add any block. Verify the block selector modal displays all strings in the user's language (in this case, DE). Enrol user steps : Set the language in the header to DE. In a course, go to Participants Click the "Enrol users" (translated) button Verify all elements of the enrol modal show the strings in the user's lang (in this case, DE).
    • 1
    • Sprint 7 - Race to the freeze

    Description

      If an string is loaded using JS it will match the browser lang and not the current Moodle language.

      It may be a regression of MDL-62497

      Adding a block steps

      1. Setup your browser to use a language different than English. ie Spanish. (May need a browser restart).
      2. Install this language on you Moodle site. Leave the default language on English.
      3. Try to add any block.
      4. Block selector will show the strings in the browser language rather than English.

      (((the calendar steps)))

      Enrol user steps

      1. Setup your browser to use a language different than English. ie Spanish. (May need a browser restart).
      2. Install this language on you Moodle site. Leave the default language on English.
      3. In a course, go to Participants
      4. Click the "Enrol users" (translated) button
      5. Some elements of the enrol user overlay show the strings in the browser language rather than English.

      Attachments

        Activity

          People

            jaked Jake Dallimore
            pferre22 Pau Ferrer
            Mihail Geshoski Mihail Geshoski
            Jun Pataleta Jun Pataleta
            Jennifer Bauzon Jennifer Bauzon
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              18/Nov/19

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 52 minutes
                2h 52m