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

(01-11-2019, 11:40 PM)kilishan Wrote: 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.

This is even better than I could have imagined. Thank you so much.
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 ramstudio - 01-12-2019, 02:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB