首页  >  文章  >  后端开发  >  javascript - 怎么得到一个多国语言翻译列表?

javascript - 怎么得到一个多国语言翻译列表?

WBOY
WBOY原创
2016-09-23 11:31:04991浏览

怎么拿到一个含有多国语言名称的翻译列表,这个列表对应了每个国家对应的语言翻译。
比如含有三个语言的列表:
-英语
-俄语
-中文
而需要的是:
-English
-русский
-中文

回复内容:

怎么拿到一个含有多国语言名称的翻译列表,这个列表对应了每个国家对应的语言翻译。
比如含有三个语言的列表:
-英语
-俄语
-中文
而需要的是:
-English
-русский
-中文

数据来源网络,我转成json格式了,不能保证完全正确

<code>[
    {
        "Language": "العربية",
        "English Name": "Arabic(Israel)",
        "Chinese Name": "阿拉伯语(以色列)"
    },
    {
        "Language": "",
        "English Name": "Arabic(Egypt)",
        "Chinese Name": "阿拉伯语(埃及)"
    },
    {
        "Language": "中文",
        "English Name": "Chinese Simplified",
        "Chinese Name": "中文简体"
    },
    {
        "Language": "中文",
        "English Name": "Chinese Tradition",
        "Chinese Name": "中文繁体"
    },
    {
        "Language": "中文",
        "English Name": "Chinese",
        "Chinese Name": "中文(香港)"
    },
    {
        "Language": "Nederlands",
        "English Name": "Dutch (Netherlands)",
        "Chinese Name": "荷兰语"
    },
    {
        "Language": "Nederlands",
        "English Name": "Dutch (Netherlands)",
        "Chinese Name": "荷兰语(比利时)"
    },
    {
        "Language": "English",
        "English Name": "English(United States)",
        "Chinese Name": "英语(美国)"
    },
    {
        "Language": "English",
        "English Name": "English(Australia)",
        "Chinese Name": "英语(澳大利亚)"
    },
    {
        "Language": "English",
        "English Name": "English(Canada)",
        "Chinese Name": "英语(加拿大)"
    },
    {
        "Language": "English",
        "English Name": "English(India)",
        "Chinese Name": "英语(印度)"
    },
    {
        "Language": "English",
        "English Name": "English(Ireland)",
        "Chinese Name": "英语(爱尔兰)"
    },
    {
        "Language": "English",
        "English Name": "English(New Zealand)",
        "Chinese Name": "英语(新西兰)"
    },
    {
        "Language": "English",
        "English Name": "English(Singapore)",
        "Chinese Name": "英语(新加波)"
    },
    {
        "Language": "English",
        "English Name": "English(South Africa)",
        "Chinese Name": "英语(南非)"
    },
    {
        "Language": "English",
        "English Name": "English(United Kingdom)",
        "Chinese Name": "英语(英国)"
    },
    {
        "Language": "Français",
        "English Name": "French",
        "Chinese Name": "法语"
    },
    {
        "Language": "Français",
        "English Name": "French",
        "Chinese Name": "法语(比利时)"
    },
    {
        "Language": "Français",
        "English Name": "French",
        "Chinese Name": "法语(加拿大)"
    },
    {
        "Language": "Français",
        "English Name": "French",
        "Chinese Name": "法语(瑞士)"
    },
    {
        "Language": "Deutsch",
        "English Name": "German",
        "Chinese Name": "德语"
    },
    {
        "Language": "Deutsch",
        "English Name": "German",
        "Chinese Name": "德语(列支敦斯登)"
    },
    {
        "Language": "Deutsch",
        "English Name": "German",
        "Chinese Name": "德语(奥地利)"
    },
    {
        "Language": "Deutsch",
        "English Name": "German",
        "Chinese Name": "德语(瑞士)"
    },
    {
        "Language": "Italiano",
        "English Name": "Italian",
        "Chinese Name": "意大利语"
    },
    {
        "Language": "Italiano",
        "English Name": "Italian",
        "Chinese Name": "意大利语(瑞士)"
    },
    {
        "Language": "Protuguês",
        "English Name": "Portuguese",
        "Chinese Name": "葡萄牙语(巴西)"
    },
    {
        "Language": "Protuguês",
        "English Name": "Portuguese",
        "Chinese Name": "葡萄牙语"
    },
    {
        "Language": "Español",
        "English Name": "Spanish",
        "Chinese Name": "西班牙语"
    },
    {
        "Language": "Español",
        "English Name": "Spanish",
        "Chinese Name": "西班牙语(美国)"
    },
    {
        "Language": "বাংলা",
        "English Name": "Bengali",
        "Chinese Name": "孟加拉语"
    },
    {
        "Language": "বাংলা",
        "English Name": "Bengali",
        "Chinese Name": "孟加拉语(印度)"
    },
    {
        "Language": "hrvatski",
        "English Name": "Croatian",
        "Chinese Name": "克罗地亚语"
    },
    {
        "Language": "čeština",
        "English Name": "Czech",
        "Chinese Name": "捷克语"
    },
    {
        "Language": "Dansk",
        "English Name": "Danish",
        "Chinese Name": "丹麦语"
    },
    {
        "Language": "ελληνικά",
        "English Name": "Greek",
        "Chinese Name": "希腊语"
    },
    {
        "Language": "עברית",
        "English Name": "Hebrew",
        "Chinese Name": "希伯来语(以色列)"
    },
    {
        "Language": "עברית",
        "English Name": "Hebrew",
        "Chinese Name": "希伯来语(以色列)"
    },
    {
        "Language": "हिंदी",
        "English Name": "Hindi",
        "Chinese Name": "印度语"
    },
    {
        "Language": "Magyar",
        "English Name": "Hungarian",
        "Chinese Name": "匈牙利语"
    },
    {
        "Language": "Indonesian",
        "English Name": "印度尼西亚语",
        "Chinese Name": "in_ID"
    },
    {
        "Language": "日本語の言語",
        "English Name": "Japanese",
        "Chinese Name": "日语"
    },
    {
        "Language": "한국의",
        "English Name": "Korean",
        "Chinese Name": "韩语(朝鲜语)"
    },
    {
        "Language": "Bahasa Melayu",
        "English Name": "Malay",
        "Chinese Name": "马来语"
    },
    {
        "Language": "فارسی",
        "English Name": "Perisan",
        "Chinese Name": "波斯语"
    },
    {
        "Language": "Polski",
        "English Name": "Polish",
        "Chinese Name": "波兰语"
    },
    {
        "Language": "româna",
        "English Name": "Romanian",
        "Chinese Name": "罗马尼亚语"
    },
    {
        "Language": "Русский",
        "English Name": "Russian",
        "Chinese Name": "俄罗斯语"
    },
    {
        "Language": "српски",
        "English Name": "Serbian",
        "Chinese Name": "塞尔维亚语"
    },
    {
        "Language": "Svenska",
        "English Name": "Swedish",
        "Chinese Name": "瑞典语"
    },
    {
        "Language": "ไทย",
        "English Name": "Thai",
        "Chinese Name": "泰语"
    },
    {
        "Language": "Türkçe",
        "English Name": "Turkey",
        "Chinese Name": "土耳其语"
    },
    {
        "Language": "اردو",
        "English Name": "Urdu",
        "Chinese Name": "乌尔都语"
    },
    {
        "Language": "tiếng việt",
        "English Name": "Vietnamese",
        "Chinese Name": "越南语"
    },
    {
        "Language": "catalá",
        "English Name": "Catalan",
        "Chinese Name": "加泰隆语(西班牙)"
    },
    {
        "Language": "latviešu",
        "English Name": "Latviesu",
        "Chinese Name": "拉脱维亚语"
    },
    {
        "Language": "Lietuvių",
        "English Name": "Lithuanian",
        "Chinese Name": "立陶宛语"
    },
    {
        "Language": "Norsk bokmal",
        "English Name": "Norwegian",
        "Chinese Name": "挪威语"
    },
    {
        "Language": "Slovenčina",
        "English Name": "slovencina",
        "Chinese Name": "斯洛伐克语"
    },
    {
        "Language": "Slovenščina",
        "English Name": "Slovenian",
        "Chinese Name": "斯洛文尼亚语"
    },
    {
        "Language": "български",
        "English Name": "bulgarian",
        "Chinese Name": "保加利亚语"
    },
    {
        "Language": "українська",
        "English Name": "Ukrainian",
        "Chinese Name": "乌克兰语"
    },
    {
        "Language": "Tagalog",
        "English Name": "Filipino",
        "Chinese Name": "菲律宾语"
    },
    {
        "Language": "Suomi",
        "English Name": "Finnish",
        "Chinese Name": "芬兰语"
    },
    {
        "Language": "Afrikaans",
        "English Name": "Afrikaans",
        "Chinese Name": "南非语"
    },
    {
        "Language": "Rumantsch",
        "English Name": "Romansh",
        "Chinese Name": "罗曼什语(瑞士)"
    },
    {
        "Language": "ဗမာ",
        "English Name": "Burmese(Zawgyi)",
        "Chinese Name": "缅甸语"
    },
    {
        "Language": "ဗမာ",
        "English Name": "Burmese",
        "Chinese Name": "缅甸语"
    },
    {
        "Language": "ខ្មែរ",
        "English Name": "Khmer",
        "Chinese Name": "柬埔寨语"
    },
    {
        "Language": "አማርኛ",
        "English Name": "Amharic",
        "Chinese Name": "阿姆哈拉语(埃塞俄比亚)"
    },
    {
        "Language": "беларуская",
        "English Name": "Belarusian",
        "Chinese Name": "白俄罗斯语"
    },
    {
        "Language": "eesti",
        "English Name": "Estonian",
        "Chinese Name": "爱沙尼亚语"
    },
    {
        "Language": "Kiswahili",
        "English Name": "Swahili",
        "Chinese Name": "斯瓦希里语(坦桑尼亚)"
    },
    {
        "Language": "isiZulu",
        "English Name": "Zulu",
        "Chinese Name": "祖鲁语(南非)"
    },
    {
        "Language": "azərbaycanca",
        "English Name": "Azerbaijani",
        "Chinese Name": "阿塞拜疆语"
    },
    {
        "Language": "Հայերէն",
        "English Name": "Armenian",
        "Chinese Name": "亚美尼亚语(亚美尼亚)"
    },
    {
        "Language": "ქართული",
        "English Name": "Georgian",
        "Chinese Name": "格鲁吉亚语(格鲁吉亚)"
    },
    {
        "Language": "ລາວ",
        "English Name": "Laotian",
        "Chinese Name": "老挝语(老挝)"
    },
    {
        "Language": "Монгол",
        "English Name": "Mongolian",
        "Chinese Name": "蒙古语"
    },
    {
        "Language": "नेपाली",
        "English Name": "Nepali",
        "Chinese Name": "尼泊尔语"
    },
    {
        "Language": "қазақ тілі",
        "English Name": "Kazakh",
        "Chinese Name": "哈萨克语"
    },
    {
        "Language": "සිංහල",
        "English Name": "Sinhala",
        "Chinese Name": "僧加罗语(斯里兰卡)"
    }
]</code>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn