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

You are viewing an old version of this documentation. Click here to open the current version, 4.0.

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`](obj-keyboard) objects. `font` : `Object` optional : [`Font`](obj-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`](obj-font) object describing font for the OSK. Only present when a `Language` object is a child of a `Keyboard` object. `example` : `Object` optional : [`Example`](obj-example) object. Only present when a `Language` object is the child of a `Keyboard` object.

Example case

The following is extracted from https://api.keyman.com/cloud/2.0/languages/heb.

"language": {
  "name":         "Hebrew",
  "id":           "heb",
  "keyboards":    [
                    {
    "id":             "galaxiehebrewkm6",
    "name":           "Hebrew Phonetic (Galaxie)",
    "filename":       "galaxiehebrewkm6-1.0.js",
    "lastModified":   "2016-06-17T07:51:52+10:00",
    "fileSize":       6880,
    "rtl":            true
                    }, {
    "id":             "hebrew",
    "name":           "Hebrew",
    "filename":       "hebrew-1.0.js",
    "lastModified":   "2016-06-17T07:51:52+10:00",
    "fileSize":       6892,
    "rtl":            true,
    "default":        true
                  }
                ]
}