automatically change to language of OS

Popular automatic website translation tool

automatically change to language of OS

Postby pava » Wed Apr 05, 2017 8:14 pm

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
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.
Posts: 3
Joined: Wed Apr 05, 2017 8:11 pm

Re: automatically change to language of OS

Postby Yana » Thu Apr 06, 2017 3:58 pm

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.

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Posts: 4533
Joined: Thu Jan 12, 2012 6:21 pm

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests