分享方式:


語言字串

_create_localesetlocale式可以在不使用 Unicode 代碼頁的作業系統上使用 Windows NLS API 支援的語言。 如需依作業系統版本分類的支援語言清單,請參閱<[MS-LCID]:Windows 語言代碼識別碼 (LCID) 參考>中的附錄 A:產品行為 \(英文\)。 語言字串可以是支援語言清單的「語言」和「語言標記」欄中的任何值。 如需列舉可用地區設定名稱和相關值的範例程式代碼,請參閱 NLS:以名稱為基礎的 API 範例

支援的語言字串

Microsoft C 執行階段程式庫實作也支援下列語言字串:

語言字串 對等的地區設定名稱
american en-US
american english en-US
american-english en-US
australian en-AU
belgian nl-BE
canadian en-CA
chh zh-HK
chi zh-SG
chinese zh
chinese-hongkong zh-HK
chinese-simplified zh-CN
chinese-singapore zh-SG
chinese-traditional zh-TW
dutch-belgian nl-BE
english-american en-US
english-aus en-AU
english-belize en-BZ
english-can en-CA
english-caribbean en-029
english-ire en-IE
english-jamaica en-JM
english-nz en-NZ
english-south africa en-ZA
english-trinidad y tobago en-TT
english-uk en-GB
english-us en-US
english-usa en-US
french-belgian fr-BE
french-canadian fr-CA
french-luxembourg fr-LU
french-swiss fr-CH
german-austrian de-AT
german-lichtenstein de-LI
german-luxembourg de-LU
german-swiss de-CH
irish-english en-IE
italian-swiss it-CH
norwegian no
norwegian-bokmal nb-NO
norwegian-nynorsk nn-NO
portuguese-brazilian pt-BR
spanish-argentina es-AR
spanish-bolivia es-BO
spanish-chile es-CL
spanish-colombia es-CO
spanish-costa rica es-CR
spanish-dominican republic es-DO
spanish-ecuador es-EC
spanish-el salvador es-SV
spanish-guatemala es-GT
spanish-honduras es-HN
spanish-mexican es-MX
spanish-modern es-ES
spanish-nicaragua es-NI
spanish-panama es-PA
spanish-paraguay es-PY
spanish-peru es-PE
spanish-puerto rico es-PR
spanish-uruguay es-UY
spanish-venezuela es-VE
swedish-finland sv-FI
swiss de-CH
uk en-GB
us en-US
usa en-US

另請參閱