This is strange ... I set my website in Dutch as primary language, removed the link to switch to English, but when I open my site on my tablet, everything is in English.
How can I solve that problem ?
This is strange ... I set my website in Dutch as primary language, removed the link to switch to English, but when I open my site on my tablet, everything is in English.
How can I solve that problem ? |
No one else encountered this problem ? |
ok, I found something in the forums, but no solution to the problem.
My site is default Dutch
In the admin panel I set default country : BE Default site language : Nederlands
My server is in the US and it seems (according to the forum I found) that users pick up the server language or the default language they set in their browser.
I don't want visitors to see my site in English because there's lots of english keys missing (I just don't need them) or translated in Dutch. It's kind of messy
Is there a solution to avoid visitors seeing my site in English ? |
The default language should work. unless your profile language setting is not default dutch then it's set to EN |
It's not on my PC, but on my tablet where I opened the website for the first time. This means that people will also see my site in English when they visit for the first time.
Default language is set to Dutch. |
you can force the language page onload. but there are other options too. |
Please, how can I solve this problem ? This is important before I launch my website. |
Please, how can I solve this problem ? This is important before I launch my website. Try to change the default country to NL then empty cache in admin panel and your tabled browser i have a dutch site with english and german languages enabled but when i browse with my tabled i get the dutch as default |
That's not the solution. I changed to default NL, cleared caches, still in English. |
You have stated your language is Dutch. However you have not stated what is the two letter language code that your dutch language file is named. https://www.deanbassett.com |
Maybe this will clarify something ? These are my settings in admin panel. |
To prevent the server settings from playing a role in determining what is chosen as a language, edit the file inc\languages.inc.php https://www.deanbassett.com |
Also make sure your default site language is set to Dutch. https://www.deanbassett.com |
You may also want to run the following query in phpMyAdmin which will reset all profiles that have a selected language id set which will force profiles back to the default language until they select something else. https://www.deanbassett.com |
Deano, THANKS !
Commenting out the line in inc/languages.inc.php worked.
They say there are no stupid questions, so ... why are these lines in the script anyway ? Doesn't a website always have a language ? |