文件名称:localized-countries:国家代码到几种语言的名称映射
文件大小:1.53MB
文件格式:ZIP
更新时间:2024-02-24 18:36:26
language internationalization localization country-codes LocalizationJavaScript
本地化国家 通过代码获取语言 var german = require ( 'localized-countries' ) ( 'de' ) german . get ( 'CH' ) // returns 'Schweiz' var english = require ( 'localized-countries' ) ( 'en' ) english . get ( 'CH' ) // returns 'Switzerland' var japanese = require ( 'localized-countries' ) ( 'ja' ) japanese . get ( 'CH' )