Documentation of the api¶
Pylocwolitz is a very simple text localization system.
Pylocwolitz is a very simple text localization system, meant to be used by web applications (but can pretty much be used anywhere). Yes, another localization system.
ValueError – Format not supported, only json or yaml.
loc(key, lang, values=None)¶
Get the translate.
Return the string key, translated to the requested language (if such a translation exists, otherwise no traslation occurs). Any other parameters passed to the method are injected to the placeholders in the string (if present).
Translated to the requested language