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

External Tool not passing language string properly.

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_34_STABLE

      Description

      When a user's language is set to a language with 2 ids like Brazilian Portuguese (pt_br) Moodle's External tool uses an underscore in the language when passing it to the the LTI provider via the launch_presentation_locale parameter. 

       

      The LTI specification says the format for the language should follow the IETF Best Practices for Tags for identifying language (BCP-47) which requires a dash instead. Brazilian Portuguese should be passed as pt-br.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jrh18 Jason Hardin
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: