UNPKG
lang-code-name
Version:
latest (1.0.1)
1.0.1
1.0.0
通过lang code获取语言地区代码名称
lang-code-name
/
test
/
test.js
5 lines
(4 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
import
LangName
from
"../index.js"
;
console
.
log
(
LangName
.
getLangCodeNameInChinese
(
'ar-JO'
))
console
.
log
(
LangName
.
getLangCodeNameInEnglish
(
'ar-JO'
))
console
.
log
(
LangName
.
getLangCodeNameInLocalLang
(
'ar-JO'
))