forgeshopper - 2010-07-17

I'd like to write (learn to write) a plugin for translation of documents, the basic functionality would be limited to this:
1) you have two synchronized docs on the screen, left and right (a bit like with compare): original text and translation. The line numbers are linked, meaning that as a wrapped line on one side gets longer, the corresponding line on the other side should get longer too (as in: taking up multiple lines with one line number, I lack words here…)
2) google translate as a start for the translation (I've seen one example of that)
3) choosing original and translate language so google translate knows what you want
My main question right now is what approach to choose: which programming/scripting language would be my best bet?

Thanks,
Nick