well.. I must say that there may be (and I think there are) many bugs... so I will take a look into the code once more and see what is wrong there... And if you know just a little of javascript you are welcome to help me with it
EDIT: nitrix-ud: I am not seasoned coder but let as see. If you try to translate "friend" from english french on this site (
http://translate.google.com/translate_t ) do you see there the result? if so, could you please copy and paste here source code of the page with result? so that I can check the regex...
EDIT: I have found that English->German does not work for me even on translate.google.com (it writes the same in english as result).. strange
EDIT: I post a new version. Now you can type something like
gt en fr hello there my friend!
After space is pressed it searches for the result. So check it and tell me if it works or not