Where can I find a list of language + region codes?

后端 未结 7 1076
一个人的身影
一个人的身影 2020-12-13 12:25

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 any

7条回答
  •  鱼传尺愫
    2020-12-13 12:52

    There are 2 components in play here :

    1. The language tag which is generally defined by ISO 639-1 alpha-2
    2. The region tag which is generally defined by ISO 3166-1 alpha-2

    You can mix and match languages and regions in whichever combination makes sense to you so there is no list of all possibilities.

    BTW, you're effectively using a BCP47 tag, which defines the standards for each locale segment.

提交回复
热议问题