Logo Search packages:      
Sourcecode: zope-cps-localizer version File versions  Download package

Localizer::LocalAttributes::LocalAttributes Class Reference

Inheritance diagram for Localizer::LocalAttributes::LocalAttributes:

List of all members.


Detailed Description

Example of a 'LocalAttributesBase' derived class, this also a base class
for 'LocalFolder.LocalFolder' and 'Locale.Locale', it can be considered
the default implementation.

Returns attributes of the form <name>_<lang>. When <lang> has more than
one level, for example es-CO, the dashes are transformed to underscores,
as dashes aren't valid charecters for identifiers in Python. For example,
the call 'getLocalAttribute("long_date", "es-CO")' would return
'self.long_date_es_CO'.

Definition at line 48 of file LocalAttributes.py.


Public Member Functions

def getLocalAttribute

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

Generated by  Doxygen 1.6.0   Back to index