Categories
|
BSD
Google TranslateProducts: IntelliJ IDEA Vendor: Alexander Shvets Email: Website: http://code.google.com/p...le-translate-idea-plugin SourceCode: Google_Translate_1460.zip Description:
This plugin performs translations in Editor window from one language to another. It uses translate.google.com service behind the scene.
Full documentation URL:
http://code.google.com/p/google-translate-idea-plugin
7 updates are hidden
show all updates
Recent change notes:This plugin performs translations in Editor window from one language to another. It uses "translate.google.com" service behind the scene. Plugin is especially convenient when you are trying to translate long i18n.property files in your project for different languages. Plugin adds "Translate" item into popup menu for the editor (also, in "Code" menu and "Generate" group). It also have separate configuration screen for selecting "from" and "to" languages. How to use
General usage instructions:How to use1. Select the part to be translated; 2. Select "Translate" item from popup menu; 3. "translate.google.com" web site will perform actual translation; 4. Response from the service will be inserted in place of selection. Author: Alexander Shvets (mailto:shvets_alexander@yahoo.com). |
|||||||||||||||||||||||||||||||||||
Comments:
After this I could use a tool like Attesoro and fix bad translations. Since there you can see the original files teksti with the translation.
So if you are going to do any more development on the plugin this would be a great feature.
Jykke
It has a small problem though, when you choose to translate when there is no text selected:
[code]
null
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:48)
at org.google.code.translate.TranslateAction$PasteLineHandler
.executeWriteAction(TranslateAction.java:56)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1
.run(EditorWriteActionHandler.java:51)
at com.intellij.openapi.application.impl.ApplicationImpl$13
.compute(ApplicationImpl.java:1)
at com.intellij.psi.impl.source.PostprocessReformattingAspect
.postponeFormattingInside(PostprocessReformattingAspect.java:43)
at com.intellij.openapi.application.impl.ApplicationImpl
.runWriteAction(ApplicationImpl.java:274)
at com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
.execute(EditorWriteActionHandler.java:35)
at com.intellij.openapi.editor.actionSystem.EditorAction$1
.run(EditorAction.java:59)
at com.intellij.openapi.command.impl.CommandProcessorImpl
.executeCommand(CommandProcessorImpl.java:55)
at com.intellij.openapi.command.impl.CommandProcessorImpl
.executeCommand(CommandProcessorImpl.java:5)
at com.intellij.openapi.editor.actionSystem.EditorAction
.actionPerformed(EditorAction.java:66)
at com.intellij.openapi.editor.actionSystem.EditorAction
.actionPerformed(EditorAction.java:45)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter
.actionPerformed(ActionMenuItem.java:5)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem
.fireActionPerformed(ActionMenuItem.java:27)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:25)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:66)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler
.mouseReleased(BegMenuItemUI.java:4)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:93)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:26)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:203)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
[/code]