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
If you want a name of an arbitrary language in an arbitrary language (e.g, how to say "Korean language" in Japanese), you can use Unicode CLDR data.
To use it in JavaScript, you may use cldr NPM package like:
cldr.extractLanguageDisplayNames('it').en;
# => 'inglese'
But not sure if the package only supports Node.js or also supports browsers. If not, you may search for other libraries or write your own code to parse CLDR directly.