Welcome Guest, Not a member yet? Register   Sign In
Dynamically changing supported languages
#7

To do that your first need to set negotiateLocale to true to autodetect the language. But, even if you do this, the language is selected before hitting the controller, so maybe it won't work for unsupported languages. You probably need to create a filter to deal with this problem.

But I think this is working against the framework and will lead in other problems. I'm not sure what is the best solution here. I can't remember the name, but someone posted a project to store the configuration in the database to overwrite the config from the files. Maybe that would work.
Reply


Messages In This Thread
RE: Dynamically changing supported languages - by includebeer - 10-28-2021, 03:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB