Type Property

ISOLanguageCodes

The list of known language codes.

Declaration

@property(class, readonly, copy) NSArray<NSString *> *ISOLanguageCodes;

Discussion

A language code is a short string that represent a particular language. All languages have a three-character ISO 639-2 string, while some languages also have a two-character ISO 630-1 string. See ISO 639.2 Codes for the Representation of Names of Languages for the complete list of standardized language codes.

The array provided by this property contains a list of codes for all the languages the system knows about, designated by the ISO 639-1 code if available, or the ISO 639-2 code if not. Use the method localizedStringForLanguageCode: to obtain a human readable string for any of the codes in the list.

For more information about language localization in your app, see Language and Locale IDs.

Not all language codes have supporting locale data in the system.

See Also

Getting Known Identifiers and Codes

availableLocaleIdentifiers

The list of locale identifiers available on the system.

ISOCountryCodes

The list of known country codes.

ISOCurrencyCodes

The list of known currency codes.

commonISOCurrencyCodes

A list of commonly encountered currency codes.