User's language still used after disabling
1. Enable English and Esperanto in the language settings, disable the rest
2. Set user language to Esperanto
3. Disable Esperanto in language settings, leaving only English
4. Look at the user's profile (edit it).
As you can see, the user's language is Esperanto, as it was set. This should no longer be possible. However, in the profile it shows "English" (which is also the only choice, which is correct). Saving this without changes results in the language being reset to English, as it should be.
I think when disabling a language, the administrator should be warned that users are using this language, and give the option to force them to another language (with the platform language as default). I think it should not be possible to disable a language which is still in use, and it should also not automatically change user's settings.
Of course, feel free to disagree with me. :-)
Updated by Yannick Warnier over 9 years ago
- Target version changed from 1.9 Beta to 1.9.2
I agree but I see this as a "can wait" feature. I hope you won't be upset if I delay it a little bit.
Please note that the "lingering" effect with the language is due to caching of the templates and the contents of the session (apparently), so it should be fixed at a deeper level (and I'm not sure how much this could impact on performances), but it doesn't happen too often either, so I would tend to think it is not urgent either (it would have been if it was really frustrating a few users, but I think we're just you and me here, so far :-p).
Updated by Yoselyn Castillo almost 9 years ago
- Status changed from Assigned to Needs more info
- Assignee changed from Yoselyn Castillo to Julio Montoya
It works fine for me.
1. I have enabled "English" and "Francais" languages in admin/languages.php.
2. I have setted user language to "Francais"
3. I have tried to disable "Francais" in admin/languages.php.
4. The result was i couldn't do it but message was still the name of variable like this: