Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

URL

(GET) /settings/languages

PARAMETERS

The method has no parameters.


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.

 {  
  "Abkhazian": {
    "loc": "ab",
    "name": "Abkhazian",
    "locb": "ab",
    "rtl": false,
    "wcchar": false
  },
  "Afrikaans": {
    "loc": "af",
    "name": "Afrikaans",
    "locb": "af",
    "rtl": false,
    "wcchar": false
  },
  "Afrikaans (Namibia)": {
    "loc": "af-NA",
    "name": "Afrikaans (Namibia)",
    "locb": "af",
    "rtl": false,
    "wcchar": false
  },
  "Afrikaans (South Africa)": {
    "loc": "af-ZA",
    "name": "Afrikaans (South Africa)",
    "locb": "af",
    "rtl": false,
    "wcchar": false
  },
  "Akan": {
    "loc": "ak",
    "name": "Akan",
    "locb": "ak",
    "rtl": false,
    "wcchar": false
  },
  "Akan (Fante)": {
    "loc": "ak-Fant",
    "name": "Akan (Fante)",
    "locb": "ak",
    "rtl": false,
    "wcchar": false
  },
  "Akan (Fante, Ghana)": {
    "loc": "ak-Fant-GH",
    "name": "Akan (Fante, Ghana)",
    "locb": "ak",
    "rtl": false,
    "wcchar": false
  },
  "Albanian": {
    "loc": "sq",
    "name": "Albanian",
    "locb": "sq",
    "rtl": false,
    "wcchar": false
  },
  "Albanian (Albania)": {
    "loc": "sq-AL",
    "name": "Albanian (Albania)",
    "locb": "sq",
    "rtl": false,
    "wcchar": false
  },
  "Albanian (Former Yugoslav Republic of Macedonia)": {
    "loc": "sq-MK",
    "name": "Albanian (Former Yugoslav Republic of Macedonia)",
    "locb": "sq",
    "rtl": false,
    "wcchar": false
  }
}

 

 

 

  • No labels