Google: Fix Python 3 compatibility of the @translate command.