Get locales

Description

Returns the list of available "locales" (languages). The "locale" argument is used by some methods to return the name of the items in a list in a given language. Not to be confused with the operation /languages.

Response example

{
  "locales":{
    "eng":{
      "language":"English",
      "locale":"eng",
      "localeFallback":"eng",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "spa":{
      "language":"Spanish (Spain - Traditional)",
      "locale":"spa",
      "localeFallback":"spa",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "deu":{
      "language":"German (Standard)",
      "locale":"deu",
      "localeFallback":"deu",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "fra":{
      "language":"French (Standard)",
      "locale":"fra",
      "localeFallback":"fra",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "por":{
      "language":"Portuguese (Portugal)",
      "locale":"por",
      "localeFallback":"por",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "ita":{
      "language":"Italian",
      "locale":"ita",
      "localeFallback":"ita",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "rus":{
      "language":"Russian",
      "locale":"rus",
      "localeFallback":"rus",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "ell":{
      "language":"Greek",
      "locale":"ell",
      "localeFallback":"ell",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "ces":{
      "language":"Czech",
      "locale":"ces",
      "localeFallback":"ces",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "ara":{
      "language":"Arabic",
      "locale":"ara",
      "localeFallback":"ara",
      "charset":"utf-8",
      "direction":"rtl"
    },
    "jpn":{
      "language":"Japanese",
      "locale":"jpn",
      "localeFallback":"jpn",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "zho":{
      "language":"Chinese",
      "locale":"zho",
      "localeFallback":"zho",
      "charset":"utf-8",
      "direction":"ltr"
    },
    "kor":{
      "language":"Korean",
      "locale":"kor",
      "localeFallback":"kor",
      "charset":"kr",
      "direction":"ltr"
    }
  },
  "timestamp":1571318028
}
<?xml version="1.0" encoding="UTF-8"?>
<locales>
  <eng>
    <language>English</language>
    <locale>eng</locale>
    <localeFallback>eng</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </eng>
  <spa>
    <language>Spanish (Spain - Traditional)</language>
    <locale>spa</locale>
    <localeFallback>spa</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </spa>
  <deu>
    <language>German (Standard)</language>
    <locale>deu</locale>
    <localeFallback>deu</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </deu>
  <fra>
    <language>French (Standard)</language>
    <locale>fra</locale>
    <localeFallback>fra</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </fra>
  <por>
    <language>Portuguese (Portugal)</language>
    <locale>por</locale>
    <localeFallback>por</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </por>
  <ita>
    <language>Italian</language>
    <locale>ita</locale>
    <localeFallback>ita</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </ita>
  <rus>
    <language>Russian</language>
    <locale>rus</locale>
    <localeFallback>rus</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </rus>
  <ell>
    <language>Greek</language>
    <locale>ell</locale>
    <localeFallback>ell</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </ell>
  <ces>
    <language>Czech</language>
    <locale>ces</locale>
    <localeFallback>ces</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </ces>
  <ara>
    <language>Arabic</language>
    <locale>ara</locale>
    <localeFallback>ara</localeFallback>
    <charset>utf-8</charset>
    <direction>rtl</direction>
  </ara>
  <jpn>
    <language>Japanese</language>
    <locale>jpn</locale>
    <localeFallback>jpn</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </jpn>
  <zho>
    <language>Chinese</language>
    <locale>zho</locale>
    <localeFallback>zho</localeFallback>
    <charset>utf-8</charset>
    <direction>ltr</direction>
  </zho>
  <kor>
    <language>Korean</language>
    <locale>kor</locale>
    <localeFallback>kor</localeFallback>
    <charset>kr</charset>
    <direction>ltr</direction>
  </kor>
  <timestamp>1571318028</timestamp>
</locales>