Forum Archive - GTranslate Pro problems with default language

GTranslate Pro problems with default language
Dec 17, 2012 6:57 pm by [email protected]
Hi, I have problems with my GTranslate Pro on the http://gagneffiske.se site. My default language is Swedish but all of a sudden it has started to display it by default in english. I registered the site as www.gagneffiske.se but I hav applied a rule in the .htaccess file so that it redirects all www. entries in the browsers address field to gagneffiske.se like this: RewriteEngine On #redirect 301 alla utan www till www RewriteCond %{HTTP_HOST} ^www.gagneffiske.se RewriteRule (.*) http://gagneffiske.se/$1 [R=301,L] RewriteBase / # gtranslate config RewriteRule ^(en|de)/(en|de)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^(en|de)/(en|de)$ /$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(en|de)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^(en|de)$ /gtranslate/translate.php?lang=$1 [L,QSA] Please help me getting this right. Best regards Micke
Re: GTranslate Pro problems with default language
Dec 17, 2012 9:47 pm by Yana
Hi, Have you enabled the joomla cache plugin? If yes, please try to change gtranslate and joomla cache plugin order or disable it.
Re: GTranslate Pro problems with default language
Dec 18, 2012 9:39 am by tecmar
actually after I removed the following part #redirect 301 alla utan www till www RewriteCond %{HTTP_HOST} ^www.gagneffiske.se RewriteRule (.*) http://gagneffiske.se/$1 [R=301,L] when I click the menu button it goes to default language and when I click the flag the page get translated but again if I navigate to another page the language change to default my gtranslate I got 2009 the configuration of htaccess isof gtranslate part: RewriteEngine On # gtranslate config RewriteRule ^([a-z]{2})/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2})$ /gtranslate/translate.php?lang=$1 [L,QSA] RewriteRule ^(zh-CN)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^(zh-CN)$ /gtranslate/translate.php?lang=$1 [L,QSA] RewriteRule ^(zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^(zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
Re: GTranslate Pro problems with default language
Dec 18, 2012 9:57 am by tecmar
joomla system cache is disabled ...here check the site http://ammarfakhuri.com/video.html to see the problem press french flag language then press any other button the language will go to defalt if you access .. for example http://ammarfakhuri.com/fr/video.html it will work but press any other button in menu it will go to default ????????????
Re: GTranslate Pro problems with default language
Dec 18, 2012 10:05 pm by Yana
Hi, Please correct gtranslate rules # gtranslate config RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)/(.*)$ /$1/$3 [R=301,L] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/([a-z]{2}|zh-CN|zh-TW)$ /$1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-z]{2}|zh-CN|zh-TW)/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA] RewriteRule ^([a-z]{2}|zh-CN|zh-TW)$ /gtranslate/translate.php?lang=$1 [L,QSA]
Re: GTranslate Pro problems with default language
Dec 19, 2012 11:57 am by tecmar
replaced it ...same problem nothing changes
Re: GTranslate Pro problems with default language
Dec 19, 2012 7:49 pm by Yana
Hi, What is your email address? I'll send you the latest version. Also please try to update the gtranslate free version also.
Re: GTranslate Pro problems with default language
Dec 20, 2012 9:24 am by tecmar
[email protected]

SIMILAR TOPICS

Gtranslate MultisiteFeb 12, 2019 7:27 amReplies: 1Post by: infact_dat
Gtranslate: Error with numberFeb 20, 2019 1:20 amReplies: 1Post by: infact_dat
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
Error message and URL problemsFeb 6, 2019 11:16 amReplies: 1Post by: Kidbooo
Add-on gtranslate no longer worksFeb 2, 2019 6:01 amReplies: 1Post by: DarylDixon

Try GTranslate with a free 15 day trial