语言环境名称是这样组成的:小写的两字母iso语言代码,可选地,后面可以跟下划线或连字符以及大写的两字母iso国家或地区代码。
A locale name is constructed from a two-letter lowercase ISO country code, optionally followed by an underscore or hyphen and a two-letter uppercase ISO language code.
语言环境的名称通常由iso 639-1语言、ISO 3166 - 1国家或地区代码以及可选的编码名称和其它限定符组成。
The names of locales usually consist of ISO 639-1 language, ISO 3166-1 country codes and optional encoding names and other qualifiers.
例如,en是英语的语言代码,US是美国的国家或地区代码,因此en_US(或en - US)将是美式英语的语言环境名称。
For example, en is the language code for English and US is the country code for the United States, so en_US (or en-US) would be the locale name for American English.
例如,en是英语的语言代码,US是美国的国家或地区代码,因此en_US(或en - US)将是美式英语的语言环境名称。
For example, en is the language code for English and US is the country code for the United States, so en_US (or en-US) would be the locale name for American English.
应用推荐