@admin, hence i need to change me script in GTM ?
I just login and see that the part of Content Dialog box text languages was not saved, i edit and save them al now. I just check english language and is now ok. Can you verify if all languages is now displaying correctly via user ip adres of browser language setting? Thanks
The auto-detect feature uses the browser language. You can find the browser language with the following code:
var userLang = navigator.language || navigator.userLanguage;
alert ("The language is: " + userLang);
Even if you browser is displaying everything in English, the browser-language may be set to NL. Browser-language on PCs is configured in Windows rather than in the browser itself.
If the end-users browser-language is not one of your configured languages in the Manager, it will default to EN.
Please sign in to leave a comment.