Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

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

 

 

...