Google translate
Monday, 19. March 2007, 13:24:34
google-translate.js
Integration in menu
Add in menu.ini:
[Google Translate menu]
Item, "English to Russian"="Go to Page,"javascript:ujs_google_translate('en|ru')",,, "l_english""
Item, "English to Arabic"="Go to Page,"javascript:ujs_google_translate('en|ar')",,, "l_english""
Item, "English to Spanish"="Go to Page,"javascript:ujs_google_translate('en|es')",,, "l_english""
Item, "English to Italian"="Go to Page,"javascript:ujs_google_translate('en|it')",,, "l_english""
Item, "English to Chinese"="Go to Page,"javascript:ujs_google_translate('en|zh')",,, "l_english""
Item, "English to Korean"="Go to Page,"javascript:ujs_google_translate('en|ko')",,, "l_english""
Item, "English to German"="Go to Page,"javascript:ujs_google_translate('en|de')",,, "l_english""
Item, "English to Portuguese"="Go to Page,"javascript:ujs_google_translate('en|pt')",,, "l_english""
Item, "English to French"="Go to Page,"javascript:ujs_google_translate('en|fr')",,, "l_english""
Item, "English to Japanese"="Go to Page,"javascript:ujs_google_translate('en|ja')",,, "l_english""
--------------------1
Item, "Russian to English"="Go to Page,"javascript:ujs_google_translate('ru|en')",,, "l_russian""
Item, "Arabic to English"="Go to Page,"javascript:ujs_google_translate('ar|en')",,, "l_arabic""
Item, "Spanish to English"="Go to Page,"javascript:ujs_google_translate('es|en')",,, "l_spanish""
Item, "Italian to English"="Go to Page,"javascript:ujs_google_translate('it|en')",,, "l_italian""
Item, "Chinese to English"="Go to Page,"javascript:ujs_google_translate('zh|en')",,, "l_chinesetr""
Item, "Korean to English"="Go to Page,"javascript:ujs_google_translate('ko|en')",,, "l_korean""
Item, "German to English"="Go to Page,"javascript:ujs_google_translate('de|en')",,, "l_german""
Item, "Portuguese to English"="Go to Page,"javascript:ujs_google_translate('pt|en')",,, "l_portuguese""
Item, "French to English"="Go to Page,"javascript:ujs_google_translate('fr|en')",,, "l_french""
Item, "Japanese to English"="Go to Page,"javascript:ujs_google_translate('ja|en')",,, "l_japanese""
And add in [Hotclick Popup Menu]
Item, "To English"="Go to Page,"javascript:ujs_google_translate('auto|en')",,, "l_english""
Submenu, "Google Translate", Google Translate menu

z8519312 # 22. April 2007, 08:43
kowloons # 28. April 2007, 00:59
kinnik # 1. May 2007, 08:50
Lex1 # 2. May 2007, 11:47
What versions for you?
kinnik # 2. May 2007, 12:03
Nexus009 # 13. May 2007, 11:00
seemille # 20. May 2007, 07:31
It works, many thanks.
Anonymous # 22. February 2008, 18:44
I tried to insert the text into menu.ini (standart_menu.ini for me) after having the script installed, but it doesnt work *help*
Lex1 # 22. February 2008, 22:24
Good luck.
deckard_slash # 6. May 2008, 11:01
leoalassia # 6. May 2008, 15:59
thanks
Lex1 # 6. May 2008, 17:47
It not interesting for me. Babelfish translation worse than Google.
You can use google-translation with tooltip from Ayush.
Anonymous # 7. September 2008, 02:39
Do you need permission from google to do this? I ask because I would like to use google translate for a project of my own and don't know if I should even try to do it or if it is a waste of time.
Thanks very much for any help.
Jose
Lex1 # 7. September 2008, 10:54
Lex1 # 12. December 2008, 17:01
Logiphile # 28. March 2009, 21:57
Lex1 # 29. March 2009, 09:19
You are right, it's old топик and «javascript:google_translate('en|ru')» has been changed on «javascript:ujs_google_translate('en|ru')»
Anonymous # 18. May 2009, 18:05
WARNING:
The Lex script (Google Translation in tooltip) will prevent you from accessing this site any longer!
As well some other websites might be blocked.
That's because this Opera server does not accept 3rd party cookies and answers with an HTTP error code.
Note that the Lex script uses own cookies to save the user preferences. Also note that every cookie created for a domain is sent to the appropriate server despite the fact that server does not accept 3rd party cookies.
So be warned, if you encounter problems after script installation and on the second reload of this page here, then first remove the script, then clear your cookies and try reloading again.
That's not a bug in Lex's script but more an issue of hypersensitive configured servers.
Anyways it will cause severe problems.
Lex1 # 18. May 2009, 18:32
This script created by Ayush.
My google-translate.js don't use cookie.
metude # 2. August 2009, 16:05
Lex1 # 3. August 2009, 09:54
Item, "Turkish to English"="Go to Page,"javascript:ujs_google_translate('tr|en')",,, "l_turkish""metude # 3. August 2009, 13:20
combomax # 10. September 2009, 12:39
Examples:
Чтобы потерять девять жизней за миг, необязательно прыгать с девятого этажа.
Tu vois, je t'aime comme ça
Lex1 # 10. September 2009, 20:03