Retrieves the list of all languages defined in the platform with code, title and ancillary properties.
URL
(GET) /settings/languages
(POST) /settings/languages
PARAMETERS
The method has no parameters.
Use the POST variant for auto-completion and pagination features.
RESULTS
The result is a JSON array with one element per language:
loc | Language code such as "en-GB", "es"... | string |
name | Name of language in English or the interface language selected by the current user. | string |
locb | Language part of the code. If "loc" is "en-GB" then "locb" is "en". | string |
rtl | Boolean. True if language is written right to left. | bool |
wcchar | Boolean. True if word counting is character based: Japanese, Chinese, ... | bool |
EXAMPLES
The following example is for a manager user accessing a job which is proposed to him/her. As a manager, the user has management level actions as well.
[ { "loc": "ab", "name": "Abkhazian", "locb": "ab", "rtl": false, "wcchar": false }, { "loc": "af", "name": "Afrikaans", "locb": "af", "rtl": false, "wcchar": false }, { "loc": "af-NA", "name": "Afrikaans (Namibia)", "locb": "af", "rtl": false, "wcchar": false }, { "loc": "af-ZA", "name": "Afrikaans (South Africa)", "locb": "af", "rtl": false, "wcchar": false }, { "loc": "ak", "name": "Akan", "locb": "ak", "rtl": false, "wcchar": false }, { "loc": "ak-Fant", "name": "Akan (Fante)", "locb": "ak", "rtl": false, "wcchar": false }, { "loc": "ak-Fant-GH", "name": "Akan (Fante, Ghana)", "locb": "ak", "rtl": false, "wcchar": false }, { "loc": "sq", "name": "Albanian", "locb": "sq", "rtl": false, "wcchar": false }, { "loc": "sq-AL", "name": "Albanian (Albania)", "locb": "sq", "rtl": false, "wcchar": false }, { "loc": "sq-MK", "name": "Albanian (Former Yugoslav Republic of Macedonia)", "locb": "sq", "rtl": false, "wcchar": false } ]