We fallback on an array of keyed objects for translation @Antony
Still works really well. What we did find is that a lot of users still used Google translate despite this functionality, so the question is was it worth the effort to implement it? Especially when the modern browser makes it so easy to click a button and voila translation.
Anyway here is a quick video on the method if you are interested.