Forum Archive - auto change lang

auto change lang
Feb 21, 2011 2:35 am by ami9620
hi i have a site and it has some domains such as com or de etc... and all of them go to com i want to make each domain to translate my site ( and show it in a specific lang for example if yo go to it will be like i get into and press on de flag is there a way to do that?
Re: auto change lang
Feb 21, 2011 10:02 am by Edvard
Yes it is possible with Apache mod_rewrite. You need to write appropriate rewrite rules in your .htaccess file.
Re: auto change lang
Feb 21, 2011 10:58 am by ami9620
can u write me the code i need to put in the htaccess?
Re: auto change lang
Feb 21, 2011 6:24 pm by Edvard
Probably this is what you need. RewriteCond %{HTTP_HOST} ^$ [OR] RewriteCond %{HTTP_HOST} ^$ RewriteRule .* [R=301,L]


Change language automaticallyNov 26, 2018 9:29 pmReplies: 3Post by: Antilb
Change the color of the Language Switcher can i do that?Sep 18, 2018 1:58 pmReplies: 3Post by: rohitlopes
Change Link ColorSep 11, 2018 7:10 pmReplies: 3Post by: onechance
Change ip adressFeb 8, 2018 12:58 pmReplies: 1Post by: serdmitriy
Change language using a URL parameter: 4, 2018 4:16 pmReplies: 4Post by: jivan

Try GTranslate with a free 15 day trial