| Home | Trees | Indices | Help |
|
|---|
|
|
General i18n utility functions.
| Classes | |
| TGURLopener | |
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
__package__ =
|
|
| Function Details |
Translate text via the translate.google.com service. The source language is given by 'from_lang' and the target language as 'to_lang'. 'text' must be a unicode or UTF-8 encoded string. |
Get the list of accepted languages, by order of preference. THis is based on the HTTP Accept-Language string. See W3C RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) for specification. |
Get the user locale. This is done using _get_locale or an app-specific locale lookup function. |
Set the i18n session locale. Raises an error if session support is not enabled. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri May 24 08:08:09 2013 | http://epydoc.sourceforge.net |