I have a simple problem that has taken me the best part of the day to
solve and I'm still no wiser. Could anybody please point me to how
would I in Javascript initiate a translate of a web page that has the
translate widget on it?

I'm just trying to help the users as much as possible with everything
and so for those who don't know a word in English I want to offer a
dialog for language selection the first time they want to translate.
The widget itself is fine for any further switches between languages,
but the first time a non-speaker wants to select their own language
they might not even know the name of their language in English. So my
dialog tries to help them by showing country flags next to the
languages as well as the names of the languages in their particular
languages.

How this works on my site is that only a link saying "English" is
showing with a flag and I don't waste the user's wait time by loading
Google Translate immediately. However, when they click the link I load
Google Translate, display it and on top of that I show the user the
initial-choice dialog. When they click their language, I select that
language in the Google Translate combo box. The only thing that is
left is to initiate the actual translation that happens when the user
selects the language in the combo box directly. However, it seems to
be impossible to initiate that call. Raising the "change" event on the
box does not work, nor does focus-click-blur or similar. I have also
not found any API function that I could simply call to initiate it.
Anybody knows how to do this? Please help!

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to