Lang | index /home/jachym/usr/src/pywps/trunk/pywps/Process/Lang.py |
Set and get language codes, initialize translated messages, so that the
user scan use them directly in processes.
In the process:
User has to define set of messages for all supported languages, like
self.lang["eng"]["key1"] = "Hallo, world!"
self.lang["eng"]["key2"] = "Foo"
self.lang["eng"]["key3"] = "Bar"
Than the user can use i18n(key) method, which returns the string
in preset language (given by client request)
Modules | ||||||
|
Classes | ||||||||
|