def gettext(message):
global _default<EOL>_default = _default or translation(DEFAULT_LANGUAGE)<EOL>translation_object = getattr(_active, '<STR_LIT:value>', _default)<EOL>result = translation_object.gettext(message)<EOL>return result<EOL>
Translate the 'message' string. It uses the current thread to find the
translation object to use. If no current translation is activated, the
message will be run through the default translation object.