Public Member Functions | |
def | translate |
def tornado.locale.GettextLocale.translate | ( | self, | |
message, | |||
plural_message = None , |
|||
count = None |
|||
) |
Returns the translation for the given message for this locale. If plural_message is given, you must also provide count. We return plural_message when count != 1, and we return the singular form for the given message when count == 1.
Reimplemented from tornado.locale.Locale.