langs

Provides a list of the available languages in an localized format for the current skin, acceptable to be inserted into a <select> element.

Parameters

action
langs

Example URL

http://<host>:<port>/<context>/web/ui.xql?action=langs

Successful Result

The function returns an <options> element, with an <option> child for each available language. The current skin is used to determine the available languages, and all parent skins in the skin hierarchy are considered as well as the base skin.

Failed Result

The API function always returns all available langauges in the skin hierarchy, which will include at least those languages available in the base skin.