我在哪里可以找到语言 + 地区代码的列表? [英] Where can I find a list of language + region codes?

查看:25
本文介绍了我在哪里可以找到语言 + 地区代码的列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用谷歌搜索(好吧,实际上是 DuckDuckGo'ed),直到我脸色发青,但找不到 en-GBfr 类型的语言代码列表-CA 任何地方.

I have googled (well, DuckDuckGo'ed, actually) till I'm blue in the face, but cannot find a list of language codes of the type en-GB or fr-CA anywhere.

有关于组件的优秀资源,特别是 W3C I18n 页面,但是我希望有一个简单的按字母顺序排列的列表,如果可能的话,相当规范(类似于 这个).找不到.

There are excellent resources about the components, in particular the W3C I18n page, but I was hoping for a simple alphabetical listing, fairly canonical if possible (something like this one). Cannot find.

谁能指出我正确的方向?非常感谢!

Can anyone point me in the right direction? Many thanks!

推荐答案

这可以在 Unicode 的通用语言环境数据存储库中找到.具体来说,一个 JSON 文件 可以在他们的 cldr-json repo

This can be found at Unicode's Common Locale Data Repository. Specifically, a JSON file of this information is available in their cldr-json repo

这篇关于我在哪里可以找到语言 + 地区代码的列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆