| Home | Trees | Index | Help |
|---|
Internationalization support.
This module is *DEPRECATED*. Please use gnue.common.base.i18n instead| Function Summary | |
|---|---|
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
This module is *DEPRECATED*. | |
| Variable Summary | |
|---|---|
str |
encoding: Encoding of the current locale |
str |
language: Language of the current locale |
| Function Details |
|---|
getencoding()This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Returns the encoding of the currently active locale. This can be changed withsetcurrentlocale.
|
getlanguage()This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Returns the language of the currently acitve locale. This can be changed withsetcurrentlocale.
|
getuserlocale()This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Try to find out which locale the user is using. This is always the locale of the user running the program and is not touched by setcurrentlocale.
|
outconv(message)This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Encodes a message toencoding (the current locale's encoding).
This function is available as the builtin function "o()".
|
setcurrentlocale(new_locale)This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Set the current locale. If it fails it tries to succeed using a more general form of the requested locale, i.e. if 'de_AT@euro' fails, 'de_AT' will be tried next. If that fails too, 'de' will be tried.
|
translate(message)This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Translates a message and returns an 8 bit string, encoded withencoding (the current locale's encoding).
This function is available as the builtin function "_()".
|
utranslate(message)This module is *DEPRECATED*. Please use gnue.common.base.i18n instead. Translates a message and returns a unicode string. This function is available as the builtin function "u_()". |
| Variable Details |
|---|
encodingEncoding of the current locale
|
languageLanguage of the current locale
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Aug 27 23:03:17 2008 | http://epydoc.sf.net |