Welcome Guest, Not a member yet? Register   Sign In
How to change base config dynamic?
#9

Doh! I got to thinking about this after the previous posts and remembered that the request object has a setLocale() method. So, from your controllers you should be able to simply do:

Code:
$this->request->setLocale('ru');

As long as that is set prior to using a language string I believe it should do what you're looking for.
Reply


Messages In This Thread
How to change base config dynamic? - by ramstudio - 01-09-2019, 12:15 AM
RE: How to change base config dynamic? - by kilishan - 01-11-2019, 11:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB