There's probably some code that could be written to detect when the framed Google translation is used and show a friendly error message.
I've never looked into it, but maybe Google have suggestions for single page app developers to make their apps compatible. Maybe the fix isn't too complicated.