Language Menu is showing wrong urls

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Dennee
Posts: 2
Joined: 09 May 2022, 13:24

Language Menu is showing wrong urls

Post by Dennee » 09 May 2022, 13:38

Hello,
I have a Problem with the Language Menu via the Plugin "Local selector".
The links that get generated are not correct and not switching the language.

I see that it is in the example from aimeo working: https://typo3.demo.aimeos.org/demo
But I dont now what I need to configure to make it work.

I want urls like:
/en/demo/detail/d/Demo-bundle-article
/demo/detail/d/Demoartikel-mit-Auswahl

But instead I get:
/demo/detail/d/Demoartikel-mit-Auswahl?locale%5D=en
/demo/detail/d/Demoartikel-mit-Auswahl?locale%5D=fr

I use the Route Enhancer configs from here: https://aimeos.org/docs/2020.x/typo3/setup/#seo-urls

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Language Menu is showing wrong urls

Post by aimeos » 11 May 2022, 06:14

The locale selector plugin should be used for switching currencies in TYPO3 only because switching languages works totally different (using the "L" parameter with an ID). Build the language menu using Typoscript instead.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

Re: Language Menu is showing wrong urls

Post by ivanp » 26 May 2022, 19:16

I wonder, has anyone successfully implemented such a suggested menu, i.e. Typoscript?
It would be a great help for me to know whether if it works as, I will be forced to use 2 currencies.
It has no sense to even think about building such a menu if it fails.
Grateful for any response!!

User avatar
aimeos
Administrator
Posts: 7858
Joined: 01 Jan 1970, 00:00

Re: Language Menu is showing wrong urls

Post by aimeos » 29 May 2022, 07:04

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply