Type Method

defaultOrthographyForLanguage:

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

Declaration

+ (instancetype)defaultOrthographyForLanguage:(NSString *)language;

Parameters

language

A BCP-47 tag identifying the language.

Discussion

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

- initWithDominantScript:languageMap:

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

+ orthographyWithDominantScript:languageMap:

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