Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 4.0 (current version)Version 3.0Version 2.0

On this page

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 optional
Font object describing font for input fields (and OSK, if oskFont is not present). Only present when a Language object is a child of a Keyboard object.
oskFont
Object optional
Font object describing font for the OSK. Only present when a Language object is a child of a Keyboard object.
example
Object optional
Example object. Only present when a Language object is the child of a Keyboard 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
                  }
                ]
}