Autodetect language browser with GT translate PRO
Jul 12, 2011 11:00 am by contact
Jul 12, 2011 11:00 am by contact
Hi,
Is it possible gTranslate PRO to automatically detect the browser language and display the items in the appropriate language?
My blog runs on Wordpress 3.2
Thanks
Re: Autodetect language browser with GT translate PRO
Jul 12, 2011 11:13 am by Edvard
Jul 12, 2011 11:13 am by Edvard
You can try this in your .htaccess:
RewriteCond %{HTTP:Accept-Language} (en) [NC]
RewriteCond %{REQUEST_URI} !^/([a-z]{2})
RewriteRule (.*) /en/$1 [R=301,L,QSA]
RewriteCond %{HTTP:Accept-Language} (de) [NC]
RewriteCond %{REQUEST_URI} !^/([a-z]{2})
RewriteRule (.*) /de/$1 [R=301,L,QSA]
...
etc...
I did not try it and I don't suggest doing that.
Re: Autodetect language browser with GT translate PRO
Jul 12, 2011 1:45 pm by contact
Jul 12, 2011 1:45 pm by contact
Well thanks for your post but I am looking for a well-tested solution before buying PRO version.
I can see you are the site admin but are you working with dev team ?
If anyone in the GT Translate community fixed that, sharing will be gratly appreiced.
Regards
Re: Autodetect language browser with GT translate PRO
Jul 12, 2011 6:22 pm by Edvard
Jul 12, 2011 6:22 pm by Edvard
Currently there are no plans to implement that feature.
SIMILAR TOPICS
wordpress amp link not translate | Dec 31, 2016 10:11 am | Replies: 12 | Post by: besybuy |
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 |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |
how to translate site right to left for arabic in WordPress | Dec 26, 2018 9:02 am | Replies: 1 | Post by: Hammond753 |