- Status
- 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:
https://wpml.org/account/downloads/