automatically change to language of OS
Apr 5, 2017 4:14 pm by pava
Apr 5, 2017 4:14 pm by pava
Hello, I am use cloud version of Gtranslate. Please how I can make that language automatically change to language of OS what visitor have? Example if have En translated language to open mydomain.com/en
Now I have just en language in cloud. But example if somebody open with German OS to open also en version translated. Thank you for help.
Re: automatically change to language of OS
Apr 6, 2017 11:58 am by Yana
Apr 6, 2017 11:58 am by Yana
Hi
We do not recommend auto detection and do not provide any code for that. But it is possible.
It will require some programming skills. You should be able to detect browser language by
locale_accept_from_http($_SERVER['HTTP_ACCEPT_LANGUAGE']); and change the language.
SIMILAR TOPICS
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Graphic translation for every language is missing | Dec 19, 2018 7:54 am | Replies: 1 | Post by: Daryl Dixon |
How to remove mobile Language Select Button transparency | Dec 5, 2018 10:06 pm | Replies: 10 | Post by: JeffTR |
Change language automatically | Nov 26, 2018 9:29 pm | Replies: 3 | Post by: Antilb |