There is now a more capable script available, called “Translate Shell”.
Some time ago I’ve written a macro for that:
It already writes the translation to a KM window, and you can easily add the actions to make it write to the clipboard also.
For more information, see the wiki Searching the Forum for Answers section.