languageCode
The language code of the locale, or nil if has none.
Declaration
var languageCode: String? { get }Discussion
For example, for the locale “zh-Hant-HK”, returns “zh”.
The language code of the locale, or nil if has none.
var languageCode: String? { get }For example, for the locale “zh-Hant-HK”, returns “zh”.