Type Method

canonicalLanguageIdentifierFromString:

Returns a canonical language identifier by mapping an arbitrary locale identification string to the canonical identifier.

Declaration

+ (NSString *)canonicalLanguageIdentifierFromString:(NSString *)string;

Parameters

string

A string representation of an arbitrary locale identifier.

Return Value

A string that represents the canonical language identifier for the specified arbitrary locale identifier.

See Also

Converting Between Identifiers

+ canonicalLocaleIdentifierFromString:

Returns the canonical identifier for a given locale identification string.

+ componentsFromLocaleIdentifier:

Returns a dictionary that is the result of parsing a locale ID.

+ localeIdentifierFromComponents:

Returns a locale identifier from the components specified in a given dictionary.

+ localeIdentifierFromWindowsLocaleCode:

Returns a locale identifier from a Windows locale code.

+ windowsLocaleCodeFromLocaleIdentifier:

Returns a Window locale code from the locale identifier.