Resolved
Resolved in: 4.4.0
Overview of the issue
There is an issue with the browser language redirection when your site has languages with similar language codes.
Let’s consider the following example:
- You have languages with the language codes en_US and en_UK.
- The user’s browser is set to the en_UK language.
In this case, when the user visits the site, they will not be redirected to the en_UK language version. Instead, they will get the en_US version.
The problem is caused by our javascript scripts that handle the redirection.
Workaround
There is currently no workaround for this issue.
Our developers are working on fixing this.
WPML 4.4.0 Beta package
We’ve releassed a beta which should solve this issue. Please, keep in mind that it is a beta version which is under testing and shouldn’t be used in production sites. You can download it here:
Do you have any idea as to when this will be solved?
Thanks!
Hi Rebecca,
We are closing the next version of WPML.
A fix to this issue will be provided to the following version.
Simplified Chinese and Traditional Chinese have similar codes: zh-hans and zh-hant. But they look very different and the confusion is embarrassing. Please get it solved! Thanks.
Thanks for the comment, can you please email me directly with the images and their correct languages’ codes? – support.manager@onthegosystems.com – I’ll take a look and we’ll fix if needed.
Any update on this?
This is scheduled for one of the next releases. I will update here once it’s done.
Hi, this will be solved in next update? Thanks
Hello there,
We can’t provide you and ETA so far, but our developers are working hard to include a fix within WPML 4.4.0.
However, it is still under testing.
Regards,
Andrés
Actually, our devs are planning to release a first beta next Monday. As you know, beta’s are not recommended for production sites, but you are welcome to give it a try on your staging site and share your findings. 🙂
Regards