product slugs doesn't switch at language switching
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
product slugs doesn't switch at language switching
Hi to All,
I have
lang default: host/product/detail/slug
lang en: host/en/product/detail/slug
I want
lang default: host/product/detail/slug
lang en: host/en/product/detail/slug_en
Thanks much.
I have
lang default: host/product/detail/slug
lang en: host/en/product/detail/slug
I want
lang default: host/product/detail/slug
lang en: host/en/product/detail/slug_en
Thanks much.
TYPO3 Version 10.4.12
Aimeos 20.10.5
Webserver nginx/1.15.9
PHP Version 7.3.13-1+ubuntu19.04.1+deb.sury.org+1
Database (Default) MySQL 5.7.28
Operating System Linux 5.0.0-38-generic
Aimeos 20.10.5
Webserver nginx/1.15.9
PHP Version 7.3.13-1+ubuntu19.04.1+deb.sury.org+1
Database (Default) MySQL 5.7.28
Operating System Linux 5.0.0-38-generic
Re: product slugs doesn't switch at language switching
The slug for the new language of the product isn't available when changing the language. This is a minor problem in the product detail view and disappears if the user clicks on any link because then, the links are generated again.
The alternative would be to fetch product and category data in all languages in every request to build the links for language switching with the correct slug in advance but that would be a gigantic overhead for a really small issue.
The alternative would be to fetch product and category data in all languages in every request to build the links for language switching with the correct slug in advance but that would be a gigantic overhead for a really small issue.
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
Re: product slugs doesn't switch at language switching
Hi,
1 . It does not seem a minor issue to me. Nothing changes with any clicks on any links. It looks like a BIG FAT problem.
2. I don't understand why we can't just make a one time fetch for a slug from the database at switching lang session in order to construct a proper url.
1 . It does not seem a minor issue to me. Nothing changes with any clicks on any links. It looks like a BIG FAT problem.
2. I don't understand why we can't just make a one time fetch for a slug from the database at switching lang session in order to construct a proper url.
TYPO3 Version 10.4.12
Aimeos 20.10.5
Webserver nginx/1.15.9
PHP Version 7.3.13-1+ubuntu19.04.1+deb.sury.org+1
Database (Default) MySQL 5.7.28
Operating System Linux 5.0.0-38-generic
Aimeos 20.10.5
Webserver nginx/1.15.9
PHP Version 7.3.13-1+ubuntu19.04.1+deb.sury.org+1
Database (Default) MySQL 5.7.28
Operating System Linux 5.0.0-38-generic
Re: product slugs doesn't switch at language switching
If you build a TYPO3 menu for language selection (recommended way) it doesn't know anything about the Aimeos parameter and if they should to be replaced by something else, so it's hard to do that.
Nevertheless, you can create a language selector that does the lookup in the background if it's that important for you.
Nevertheless, you can create a language selector that does the lookup in the background if it's that important for you.
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