Change default language


I would like to know if with Slim Framework is any possibility to change default language of a multi language website, so when end user calls the domain, it directly load the other language as default.

If yes, what is the procedure of this change.

Kind Regards,

If you have a way in detecting the language of the user, then it is no problem for your application to do “magic”.
(It’s not the framework that does the magic, it’s your way of programming that does)

You could detect a browser language for example and redirect based on that info. However, I would always give the user an opportunity to switch language in case the detection was not redirected to the appropriate one.