Skip navigation

Sign up | Lost password? | Help

My program for Opera

Google translate

, ,


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

oGet 1.9.8oGet 2

Comments

z8519312 22. April 2007, 08:43

nice script!

kowloons 28. April 2007, 00:59

Very Good nice!

kinnik 1. May 2007, 08:50

I found it has conflict with extra-download-link script.While this two userjs place in same folder,The translate popup can't jump out.Hope it could be fix soon. Thanks.

Lex1 2. May 2007, 11:47

Very strange. I fixed this problem in version 1.5.2. Now this work good for me.
What versions for you?

kinnik 2. May 2007, 12:03

I am using 1.3 before. I update to 1.5.2. Great!now it is working.Thanks for your kindly help.

Nexus009 13. May 2007, 11:00

grazie Lex1 :up:

seemille 20. May 2007, 07:31

잘 쓰겠습니다. :wink:

It works, many thanks.

Anonymous 22. February 2008, 18:44

Anonymous writes:

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

Check that you added it to the necessary menu. Read about UserJS installations.
Good luck.

deckard_slash 6. May 2008, 11:01

thank you , very very much :up: :up: :up: :up: :up: :up:

leoalassia 6. May 2008, 15:59

could you make a babelfish version?
thanks

Lex1 6. May 2008, 17:47

leoalassia
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

Jose De Jesus Madrigal writes:

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

Hmm.. I did not do it. I think you need official permission only if plan to do a large project or use it on site.

Lex1 12. December 2008, 17:01

Btw, if you use Ad Muncher or Outpost Firewall, download the archived version.

Logiphile 28. March 2009, 21:57

:smile: cool, work so good thanks very much :hat:

Lex1 29. March 2009, 09:19

but it doesn't work with me


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

NotMyBug writes:

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

Google Translation in tooltip


This script created by Ayush.
My google-translate.js don't use cookie.

metude 2. August 2009, 16:05

Is there Turkish to English Translation?

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

Thank you for your help.

combomax 10. September 2009, 12:39

Now the script mostly doesn't auto translate for selected text. I have latest version 1.6.26 I use auto to english via button.

Examples:

Чтобы потерять девять жизней за миг, необязательно прыгать с девятого этажа.

Tu vois, je t'aime comme ça


Lex1 10. September 2009, 20:03

Hmm.. Strange. Try it later with other text. Maybe temporary problem on google?

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies