netbeans-translator
Translation of selected text in the Netbeans editor.
- Build the Netbeans module with maven.
 - Install the module in your Netbeans IDE.
 - Look in the Translator toolbar (View > Toolbars > Translate, if it is closed) where you should see a list of target languages.
 - Open any kind of file.
 - Select a peace of text.
 - Right-click and choose Translate.
 - Text changes to the target-language.
 - If a problem occurs, a message is printed in the status bar. Look into the notification-window for details. For example, Google translation service doesn't support all from/to combinations and its usage is restricted to a fix number of invocations in a time interval. If the selected text is not translated this is the most probable reason.