Forum Archive - automatically change to language of OS

automatically change to language of OS
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
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 codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon
How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR
Change language automaticallyNov 26, 2018 9:29 pmReplies: 3Post by: Antilb

Try GTranslate with a free 15 day trial