Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 1.082 kb

Chameleon Translate Function Support

:func:`translationstring.ChameleonTranslate` is a function which returns a callable suitable for use as the translate argument to various PageTemplate* constructors.

The translator provided should be a callable which accepts a single argument translation_string ( a :class:`translationstring.TranslationString` instance) which returns a unicode object as a translation; usually the result of calling :func:`translationstring.Translator`. translator may also optionally be None, in which case no translation is performed (the msgid or default value is returned untranslated).

Jump to Line
Something went wrong with that request. Please try again.