Page 1 of 1

Aimeos Language from URL

Posted: 17 Sep 2016, 15:26
by wenotine
Hello Everyone,

Please help me.

We mixed Aimeos with AsgardCMS, and our URI is different than the normal Aimeos URI.
My question is, how and where can we change the language (where exaclty is the language change happening)?
How can we change the language in the code?

Thank you very much!

Re: Aimeos Language from URL

Posted: 17 Sep 2016, 17:11
by aimeos
If you add a "locale" route or input parameter to your URLs, you can select the language of the shown content:
https://github.com/aimeos/aimeos-larave ... t.php#L179

The best way is configuring a route prefix:
https://aimeos.org/docs/Laravel/Add_loc ... tor#Routes

If no locale is available, the first locale in the list of locales (admin interface -> expert mode -> locale tab) is used.