Home | Trees | Indices | Help |
|
---|
|
|
|||
|
translate(txt,
context) Someday soon, this function will return a translation for unicode_string suitable for context. |
||
|
translate_template(context,
template,
*args,
**kw) The i18n version of the % opperator: template must be a unicode string, which will be translated (including the placeholders) and then applied to the data passed as either positional arguments or key word arguments. |
||
|
_(txt,
context) Someday soon, this function will return a translation for unicode_string suitable for context. |
|
|
The i18n version of the % opperator: template must be a unicode string, which will be translated (including the placeholders) and then applied to the data passed as either positional arguments or key word arguments. Example:>>> translate_template(context, '%s %s', one, two) '<content of one> <content of two>' >>> translate_template(context, '%(one)s %(two)s', one='1', two='2') '1 2' |
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Wed Feb 20 18:17:22 2008 | http://epydoc.sourceforge.net |