Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4741

Pass language to site pages in InAppBrowser and iframes too

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5.0
    • Others
    • Hide

      This issue only needs to be tested in 1 device.

      1. Configure the app to use English language.
      2. Login in our master site and go to the More tab.
      3. Click "InAppBrowser test lang". Check that InAppBrowser opens and the User Interface is in English (e.g. the buttons at the top or left menu should say Home, Course categories, etc.).
      4. Close the InAppBrowser and open "Browser test lang". Check that the system browser (e.g. Chrome) opens and the User Interface is in English.
      5. Go back to the app and open "Iframe test lang". Check that a new page is opened and the page loaded in the iframe has the User Interface in English.
      6. Now change the app to use Spanish (or any other language installed in the site).
      7. Repeat steps 3-5. Check that now the UI is in the language you picked in step 4, as long as that language pack is installed in the site.
      8. Bonus test: Open "Iframe with forced lang" and check that the UI is in catalan, no matter the app language.
      Show
      This issue only needs to be tested in 1 device. Configure the app to use English language. Login in our master site and go to the More tab. Click "InAppBrowser test lang". Check that InAppBrowser opens and the User Interface is in English (e.g. the buttons at the top or left menu should say Home, Course categories, etc.). Close the InAppBrowser and open "Browser test lang". Check that the system browser (e.g. Chrome) opens and the User Interface is in English. Go back to the app and open "Iframe test lang". Check that a new page is opened and the page loaded in the iframe has the User Interface in English. Now change the app to use Spanish (or any other language installed in the site). Repeat steps 3-5. Check that now the UI is in the language you picked in step 4, as long as that language pack is installed in the site. Bonus test: Open "Iframe with forced lang" and check that the UI is in catalan, no matter the app language.
    • MOODLE_405_STABLE
    • Moodle Apps - 2025 i1

      In MOBILE-4581, the openInBrowser function was modified to pass the language parameter to site pages. But this was only applied when opening links in the system browser, we should do it too in InAppBrowser and when loading iframes to make it consistent.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 22 minutes
                22m

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