Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.3.2
-
-
MOODLE_33_STABLE
-
MOODLE_34_STABLE
-
Moodle Mobile 3.4.0
Description
In app settings, if you select a language that is not supported by a remote addon then the language is NOT changed. If you restart the app, then the language is correctly loaded.
The console displays an error saying that the lang file wasn't found in the remote addon folder.
We had a similar problem in the past, but it happened when the remote addon was registered. We had this code to fix it, but it was fixed in an update of the angular-translate library so it was removed. Now the problem is in the changeCurrentLanguage function.