ISO 639-1:2002 语种名称代码.第1部分:α-2代码 Codes for the representation of names of languages - Part 1: Alpha-2 code ISO 639-1:2002 发布历史 ISO 639-1:2002由国际标准化组织 IX-ISO 发布于 2002-07。 ISO 639-1:2002 在中国标准分类中归属于: A24 分类编码,在国际标准分类中归属于: 01.0...
标准号:ISO 639-1:2002 EN/FR 标准名称:表示语言名称的编码 第1部分:阿尔法-2 编码 英文名称:Codes for the representation of names of languages — Part 1: Alpha-2 code 标准状态:废止 发布日期:2002-07-18 文档简介 ISO639-1:2002是国际标准化组织(ISO)制定的一项标准,用于表示各种语言的名称。它规定...
Reference numberNuméro de référenceISO 639-1:2002(E/F)© ISO 2002 INTERNATIONAL STANDARD NORME INTERNATIONALE ISO639-1First editionPremière édition2002-07-15Codes for the representation of names of languages — Part 1: Alpha-2 code Codes pour la représentation des noms de langue — Partie...
<scripttype="text/javascript"src="./node_modules/iso-639-1/build/index.js"></script> Visit global variable ISO6391 in js console.log(ISO6391.getName('en'));// 'English' Methods getName(code) @param code {string} @return {string} ...
getCode(name) @param name {string} @return {string} Lookup code by english name or native name getAllCodes() @return {array} Get array of all codes validate(code) @param code {string} @return {boolean} Check whether the given code is in the list ofISO-639-1 ...
getCode(name) @param name {string} @return {string} 通过英文名称或本地名称查找代码 getAllCodes() @return {array} 获取所有代码的数组 validate(code) @param code {string} @return {boolean} 检查给定的代码是否在 ISO-639-1 列表中 getLanguages(codes) ...
1 For the reverse of Michal Bryxí's answer, using Intl.DisplayNames to get the ISO 639-1 code from the language name (e.g. English ➜ en): function generateLangMap () { const langNames = new Intl.DisplayNames(['en'], {type: 'language'}) const langMap = {} for (let i ...
log("de (639-2B/Alpha-3) => " + languages.getName("ger", "en")); // German Get all names by their ISO 639-1 code var languages = require("@cospired/i18n-iso-languages"); console.log(languages.getNames("en")); // { 'ab': 'Abkhazian', 'aa': 'Afar', [...], 'za'...
Get all names by their ISO 639-1 code varlanguages=require("@cospired/i18n-iso-languages");console.log(languages.getNames("en"));// { 'ab': 'Abkhazian', 'aa': 'Afar', [...], 'za': 'Zhuang', 'zu': 'Zulu' } Supported languages (ISO 639-1) ...