API object - Language
The Language
object contains the following members:
name
string
- Name of language
id
string
- ISO 639-3 language code.
keyboards
Array
optional- Array of corresponding
Keyboard
objects. font
Object
optionalFont
object describing font for input fields (and OSK, ifoskFont
is not present). Only present when aLanguage
object is a child of aKeyboard
object.oskFont
Object
optionalFont
object describing font for the OSK. Only present when aLanguage
object is a child of aKeyboard
object.example
Object
optionalExample
object. Only present when aLanguage
object is the child of aKeyboard
object.region
number
- A numerical ID corresponding to the region of the world within which the language is predominantly spoken.
Example case
The following is extracted from https://api.keyman.com/cloud/4.0/languages/heb.
"language": {
"name": "Hebrew",
"id": "heb",
"region": 3,
"keyboards": [
{
"id": "galaxiehebrewkm6",
"name": "Hebrew Phonetic (Galaxie)",
"filename": "galaxiehebrewkm6\/1.0\/galaxiehebrewkm6-1.0.js",
"version": "1.0",
"lastModified": "2014-03-21T16:22:19+11:00",
"fileSize": 6880,
"rtl": true
}, {
"id": "hebrew",
"name": "Hebrew",
"filename": "hebrew\/1.0\/hebrew-1.0.js",
"version": "1.0",
"lastModified": "2014-03-21T16:22:19+11:00",
"fileSize": 6892,
"rtl": true
}
]
}