I'm still waiting for a possible solution to get your Gtranslate Pro to work correctly with my Drupal 6 website.
The Site has currently 2 Languages which I manually translate.
Englisch is default to Gtranslate
& German
If I add the given code to the .htaccess, my German Translation also gets Google- translated which is not what I want:
- Code: Select all
# 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]
If I used your modified Code I get an "Internal Server Error" on my web-site which is unfortunately useless.
- Code: Select all
# gtranslate config
RewriteCond %{REQUEST_URI} !^/en # the language code to be excluded
RewriteCond %{REQUEST_URI} !^/de # the language code to be excluded
RewriteRule ^([a-z]{2})/(.*)$ /gtranslate/translate.php?lang=$1&url=$2 [L,QSA]
RewriteCond %{REQUEST_URI} !^/en # the language code to be excluded
RewriteCond %{REQUEST_URI} !^/de # the language code to be excluded
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]
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
PLEASE Help since I´m waiting since Oct 2010 for a soluation to this Problem.

Robert