Website Translator: Locale detection logic improved

We’ve improved the logic for detecting the default locale in our Website Translator app :rocket:

Previously, if the site language was set to “en,” it would be detected as en-US, even if a regional version (like en-GB) was already in the widget:

Now, if a language starting with “en” (e.g., en-GB, en-CA) is already in the widget, it won’t add en-US. If the locale is more specific (e.g., en-US), it will only be added if it’s not already in the list:


Back to Changelog →

3 Likes

@Max,

:heart: :heart: :heart: