A translator widget based on the altavista babelfish translation service. Makes it easy to add new translation engines and special characters. Features: - Keyboard shortcut for translate button. - Easy switch between translation direction. - Easy change of langauges. - Detects whether a URL has been entered and submits the webpage to be translated if appropriate. - Special character popup for some languages. - 'Minimised' and 'maximised' mode. Credit to shoust for doing it first, but there were a couple of extra accessibility features I wanted, so I made my own.
Congrats!really nice widget...specially the Deutsch translator, where the grammar plays a very important role and is a kind of hard work finding a good one. Thanks a lot!
Hi tunayx, sorry if I didn't make it clear in the documentation, but it automatically detects if you input a URL (highlights in blue). Thanks for making me double check this though, it doesn't do this if you paste in without pressing a key (which most poeple would do I imagine). I'll fix this next version.
I'm thinking of putting in a clear text box button as well, so that's on the go. Finally, as I said above, the google translate isn't worth adding; it uses the same engine as babelfish and consequently the translations are the same.
Hi guys, thanks for the comments, I agree with the resising thing to a certain extent. I thought though, as what you are really wanting to do is read what's in the textarea, a popup balloon might be a better idea.
This would span the whole width of the control, and size vertically as needed. It would of course dissappear when you 'mouse-offed' the textarea. The advantage of this is that is takes up the whole widget width (you don't have the 'halving' effect of two textareas), resises when necessary (doesn't require you to do anything) and makes more sense in the minimised widget mode.
There probably are some time savings I could make in the language change bit, but I'm not actually sure how often people would be doing this? Thanks for the other suggestions and look out for 1.1!
You need to know a bit of javascript and regular expressions to add a new translation engine. Find the o-translate zip in your widgets folder, open it and open the language_data.js file. Instructions for editing it can be found at the top of the file. Bear in mind, engines such as google translate (and perhaps others) are powered by the same technology as babelfish, and as such may not be worth adding.
If anyone has any translation engines / special characters they'd find useful in the widget, let me know and I might add them .
@tek2000: I'm not sure, could you give a bit more information about what happens? It's more than likely though this is either a problem with your setup, or Opera's server. Try right clicking the download button and choosing "save target as", then opening the zip and seeing what's inside (ie. if it looks like everything's there). Best of luck.
By RenumeratedFrog, # Oct 11, 2006 0:21:20 AM
By mdelavega, # Oct 9, 2006 1:25:32 AM
By Ego-Shooter, # Oct 7, 2006 9:01:28 AM
I'm thinking of putting in a clear text box button as well, so that's on the go. Finally, as I said above, the google translate isn't worth adding; it uses the same engine as babelfish and consequently the translations are the same.
Thanks for your suggestions.
By splondike, # Oct 2, 2006 11:09:18 AM
1- A clear button to clear text boxes
2- URL Translate function (an adrees bar maybe)
3- Google Translate option.
By tunayx, # Sep 29, 2006 2:40:13 PM
This would span the whole width of the control, and size vertically as needed. It would of course dissappear when you 'mouse-offed' the textarea. The advantage of this is that is takes up the whole widget width (you don't have the 'halving' effect of two textareas), resises when necessary (doesn't require you to do anything) and makes more sense in the minimised widget mode.
There probably are some time savings I could make in the language change bit, but I'm not actually sure how often people would be doing this? Thanks for the other suggestions and look out for 1.1!
By splondike, # Sep 29, 2006 8:56:11 AM
Here's my requests for future releases:
1- Choosing language pairs without pushing 'save settings' button. (Can be time saving)
2- Resizable windows (its too small) and maximize, close buttons.
3- Language Titles (with flags maybe) so we can see easily which language pairs we are using.
By tunayx, # Sep 29, 2006 3:40:38 AM
By LaserDance, # Sep 25, 2006 1:54:50 PM
Please have a look at http://my.opera.com/deutsch/forums/topic.dml?id=155416&t=1159038156&page=1#comment1749542
By toto99, # Sep 23, 2006 9:07:36 PM
If anyone has any translation engines / special characters they'd find useful in the widget, let me know and I might add them
By splondike, # Sep 20, 2006 8:26:18 AM
thanks
nice one btw!
By SluttyHo, # Sep 19, 2006 10:51:06 PM
By splondike, # Sep 17, 2006 1:18:39 PM
By tek2000, # Sep 17, 2006 4:59:27 AM
By Nasenmann, # Sep 15, 2006 11:58:26 PM