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

List of all members.

Public Member Functions

def __init__
def translate

Public Attributes

 gettext
 ngettext

Detailed Description

Locale implementation using the `gettext` module.

Definition at line 426 of file locale.py.


Constructor & Destructor Documentation

def tornado.locale.GettextLocale.__init__ (   self,
  code,
  translations 
)

Reimplemented from tornado.locale.Locale.

Definition at line 428 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 441 of file locale.py.


Member Data Documentation

Definition at line 428 of file locale.py.

Definition at line 428 of file locale.py.


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


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Thu Aug 27 2015 14:50:40