Type Method

canonicalLocaleIdentifierFromString:

Returns the canonical identifier for a given locale identification string.

Declaration

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

Parameters

string

A locale identification string.

Return Value

The canonical identifier for an the locale identified by string.

See Also

Converting Between Identifiers

+ 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.

+ canonicalLanguageIdentifierFromString:

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

+ localeIdentifierFromWindowsLocaleCode:

Returns a locale identifier from a Windows locale code.

+ windowsLocaleCodeFromLocaleIdentifier:

Returns a Window locale code from the locale identifier.