I guess there’s a reason not to use Google products when they’re listed as “labs”. I was just doing some work on reTranslate, and it just kept breaking. Turns out that Google changed the object that gets returned to the callback function. It used to be:

response.data.translations[0].translatedText

But now it’s:

response.data.translations[0].translated_text

Interestingly, it looks like they haven’t updated their documentation… so probably now that I’ve made this fix they’re going to revert it tomorrow. What a PITA.