Made a small bash script to do something similar: https://gist.github.com/eirikb/c189a7d8406b2897dad0e86086be1...
What a pleasant surprise. Thanks you for sharing!
Here is a demo: http://i.imgur.com/1BpMKpe.gif Script is here: https://gist.github.com/eirikb/ac8196beb0b57577a8fc47eb18427... Images are here: http://imgur.com/a/Uv3NH
What it does: Opens Google translate in Chrome, inserts some Norwegian text, copies the translated text and inserts it into this comment. To make the images I used gnome-screenshot, it let me grab areas.