Skip to main content

settings/languages

Retrieves the list of all languages defined in the platform with code, title and ancillary properties. 

URL

(GET) /api/settings/languages
(POST) /api/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:

locLanguage code such as "en-GB", "es"...string
nameName of language in English or the interface language selected by the current user.string
locbLanguage part of the code. If "loc" is "en-GB" then "locb" is "en".string
rtlBoolean. True if language is written right to left.bool
wccharBoolean. 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.

CODE
 [
  {
    "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
  }
]




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.