Type Method


Creates and returns an orthography object with the default language map for the specified language.


class func defaultOrthography(forLanguage language: String) -> Self



A BCP-47 tag identifying the language.


This method automatically determines the script for the specified language. For example, the default orthography for the Hindi language has a language map with a single key, "Deva" (the ISO 15924 script code for Devanagari), that has a corresponding value of an array containing the element "hi" (the BCP-47 identifier for Hindi).

See Also

Creating Orthography Objects

init(dominantScript: String, languageMap: [String : [String]])

Creates an orthography object with the specified dominant script and language map.