I use Rikaichan (which works really well for Japanese, not sure about other languages as I've not tried) It covers a significant portion of this in my opinion. The original is for Firefox, but there's also a chrome port under the name "rikaikun".
That said, I'll take a look at this, maybe it's cool. :-)