Not to be self-promoting, but I implemented this on tagdef.com a while back. Also using the Google translate api, it detects if a definition is non-English, and gives the user the possibility to translate. E.g one of the definitions for #lol at http://tagdef.com/lol