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

Some course contents like pages and books are always downloaded in the language indicated in the LMS profile instead of the one selected in the app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • DEV backlog
    • Internationalization
    • Hide

      This issue can be tested in Webapp, iOS or Android.

      Following the issue description, create a course using multi-lang in the name of the course, name of at least one section (English and Spanish), create a page using multi-lang in its title, description and content, and now force a student profile language to English on the Moodle site.

      1. Open the app, connect to the site with the same student account and change the app language to Spanish. Now, go to the created page and everything should be translated to spanish.

      Show
      This issue can be tested in Webapp, iOS or Android. Following the issue description, create a course using multi-lang in the name of the course, name of at least one section (English and Spanish), create a page using multi-lang in its title, description and content, and now force a student profile language to English on the Moodle site. 1. Open the app, connect to the site with the same student account and change the app language to Spanish. Now, go to the created page and everything should be translated to spanish.
    • Moodle Apps - 2024 i2.3, Moodle Apps - 2024 i3, Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2

      This happens with content such as pages or books that are translated using the multi-lang filter or the multi-lang v2 filter.

      To reproduce:

      • Create a course using multi-lang in the name of the course, name of at least one section (English and Spanish)
      • Create a page using multi-lang in its title, description and content
      • Force a student profile language to English on the Moodle site
      • Open the app, connect to the site with the same student account and change the app language to Spanish
        Confirm that:
      • The course name course section and page name are displayed in Spanish
        but
      • The page content is always displayed in English

      Originally reported via MOBILE-4629, that site allows public sign-up so we can use it to check the books in the "Introduction to Triathlon" course.

      In order to address this issue we should append the app current language as a parameter to any request to pluginfile.php or tokenpluginfile.php

      For example:
      tokenpluginfile.php/f9d6cf8e134bc9e671086eac5d5063d8/47089/mod_book/chapter/26994/index.html?offline=1&lang=es

      Please notice also that once the app is downloaded (for example in Spanish) following access will always display the page in Spanish, even if the app is configured to use English as it was already downloaded.

            alfonso.salces@moodle.com Alfonso Salces
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 41 minutes
                1h 41m

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