-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.2
-
-
MOODLE_33_STABLE
-
MOODLE_34_STABLE
-
Moodle Mobile 3.4.0
Custom menu items in mobile features don't always respect the language setting. The inconsistency I am experiencing seems to correlate to the link URL.
Take the provided example on the settings page:
App help|https://someurl.xyz/help|inappbrowser
My grades|https://someurl.xyz/local/mygrades/index.php|embedded|en
Mis calificaciones|https://someurl.xyz/local/mygrades/index.php|embedded|es
These work properly if you enter them in as is, but if you cut out 'index.php' the mobile app will stop respecting the language setting; in addition; in some cases it will also effect other items nearby in the list.
Here is another example: In this one I added extra items to the provided list and then after 'Mis calificaciones' I removed 'index.php'
With this change in place 'Mis calificaciones' shows even when language is set to English and if you change to Espanol 'My grades' now appears.
App help|https://someurl.xyz/help|inappbrowser
My grades|https://someurl.xyz/local/mygrades/index.php|embedded|en
Mis calificaciones|https://someurl.xyz/local/mygrades|embedded|es
Espanol Menu|https://someurl.xyz/local/mygrades/index.php|inappbrowser|es
English2|https://someurl.xyz/local/mygrades/index.php|inappbrowser|en