lang

Retrieves an JSON formatted version of a language resource, from the config/ folder.

Parameters

action
lang
lang
The filename of the XML configuration file to get from the current skin (lang-en.xml).

Example URL

http://<host>:<port>/<context>/web/ui.xql?action=lang&lang=<value>

Successful Result

The GZipped JSON representation of the language resource, return with mime-type "application/json". This JSON object is enriched with the language values from any parent skins, including the base skin.

Failed Result

In the case of an error, any empty JSON object will be returned (such as, <codeph>{}<codeph>);