Download NetBeans!

20071129 Thursday November 29, 2007

1.5 Version of Google Translation Service Integrator

I incremented the NetBeans Google Translator Integrator to 1.5. One can now translate text in any kind of file (Editors/Popup folder, instead of Editors/mime-type/Popup), not just HTML or Java. Go here to get the plugin:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=4189

You'll get a ZIP file with two NBMs. When you're in the Plugin Manager, you'll see this:

After installation, you can translate to your heart's content. Select the from/to languages in the Translate toolbar, then select your text to be translated, and then right-click and choose Translate:

For example, here's something I pasted into the text editor, something I got from the Arabic CNN site:

Then, I chose the Translate menu item and got this:

Many scenarios where this feature might be useful can be imagined. Remember that you're interacting with the on-line Google translation service, under the hood, so make sure to be on-line. If there's an error for any reason, the status bar will tell you so.

Here's a funny Dutch/English translation:

By the way, does someone know how to get the selected index displayed in a JList? By default, the first value in the list is shown in the JList, which is Arabic/Arabic. However, I'd like it to scroll to the selected index by default, at startup, which is English/French. Can someone tell me how to do that?

Nov 29 2007, 10:11:45 AM PST Permalink