0

I'm looking for a way to get the name of a language in any other language, based on a IETF language tag. For example: I have a list of IETF language tags ('en', 'fr', 'nl', 'de' , ...) and I want them mapped to the language display name of my current locale (e.g. Dutch):

  • 'en' => 'Engels'
  • 'fr' => 'Frans'
  • 'nl' => 'Nederlands'
  • 'de' => 'Duits'

I've searched NPM but found nothing. I would prefer a list in JSON, but I will settle for any language/format.

Renaat De Muynck
  • 3,267
  • 1
  • 22
  • 18

0 Answers0