Language name from ISO 639-1 code in Javascript

前端 未结 6 1917
傲寒
傲寒 2020-12-19 00:04

I\'m building a website where people can associate a language information to content.

The website uses Javascript heavily and the language information associated to

6条回答
  •  既然无缘
    2020-12-19 01:10

    I think you are stuck with having to maintain your own list of mappings to native language names for each of the languages you wish to support. But it looks like Wikipedia has just what you need.

提交回复
热议问题