navigator.language list of all languages

前端 未结 5 1102
你的背包
你的背包 2021-02-12 04:33

Where i can see the list of languages and their codes?

I want to compare languages and auto-select required language in template.

Are they cross-browser equal?

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-12 05:08

    This list is defined by the ISO : http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

提交回复
热议问题