Public Member Functions
tornado.locale.GettextLocale Class Reference
Inheritance diagram for tornado.locale.GettextLocale:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def translate

Detailed Description

Locale implementation using the gettext module.

Definition at line 413 of file locale.py.


Member Function Documentation

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.

Definition at line 415 of file locale.py.


The documentation for this class was generated from the following file:


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30