Aimeos Language from URL
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Aimeos Language from URL
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!
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
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.
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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star