Skip to content

Language

dave-p edited this page Jul 21, 2024 · 3 revisions

The up-to-date version of this documentation is now on the Tvheadend website at https://docs.tvheadend.org/documentation/development/json-api

language/list

Produces a list of all known languages (hard-coded within the TVH source)

{
   "entries" : [
      {
         "val" : "Undetermined",
         "key" : "und"
      },
      {
         "key" : "aar",
         "val" : "Afar"
      },
      {
         "val" : "Abkhazian",
         "key" : "abk"
      }, ...
   ]
}

language/locale

Produces a similar list to language/list.

language/ui_locale

Produces a list in the same format as the other functions but containing only those languages which are supported by TVHeadend.

Clone this wiki locally