setLocale() doesn't change the language set by browser |
I still don't know if setlocal() should change the selected language used by the language files or if it was just my immagination...
So I finaly did manualy insert the language variable in all the lang() functions like that: Code: <?= lang('Titles.titleStundenplan', [],$language)?> The only problem now is for the validation error language who strictly follows the user properties set in browser. I don't know how to change that manualy. any help would be apreciated... |
Messages In This Thread |
setLocale() doesn't change the language set by browser - by blackrabbit - 04-07-2020, 05:54 AM
RE: setLocale() doesn't change the language set by browser - by blackrabbit - 04-23-2020, 04:05 PM
RE: setLocale() doesn't change the language set by browser - by thingNumber1 - 04-26-2020, 10:48 AM
RE: setLocale() doesn't change the language set by browser - by blackrabbit - 04-26-2020, 12:14 PM
RE: setLocale() doesn't change the language set by browser - by eelisland - 01-10-2021, 11:51 AM
|