I have run into a bug while trying to use google translate to have
automatic translation on one of my sites.
The site has both pages in english and french, and I have the snippet
of html/javascript code provided by http://translate.google.com/translate_tools
to provide automatic translation. I am setting the 'pageLayout'
variable to the proper language for each page  in the code snippet.
There seems to be a bug caused by the cookies that the translation
script sets. When I go to a french page and allow it to translate into
english it sets a cookie. The cookie causes all pages on the domain to
be translated from french to english, regardless of the 'pageLayout'
variable. Then when I go to an english page on the site with the
cookie set it tries to translate from french to english, but I assume
since english is not an option to translate (since the page language
is set to english) it seems to default to the first option, which is
afrikaans. So it treats the page as french and translates it as if it
were french text into afrikaans. It then proceeds to set a cookie for
afrikaans causing all of my pages to automatically translate to
afrikaans until I clear the cookie.
The google translation javascript doesn't seem to be respecting the
'pageLayout' variable properly and/or isn't using the cookie properly?

I have made a couple demo pages that demonstrate the bug:
http://thegoog.net/things/translate/enafbug/english.html

There are instructions on the page on how to replicate the bug. Your
browser language needs to be set to english.

-- 
You received this message because you are subscribed to the Google Groups 
"General" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-translate-general?hl=en.

Reply via email to