Function getLocalizedLanguageName

Get the localized name of a language using Intl.DisplayNames.

The results are interanlly cached, so you don't need to cache this yourself.

  • Parameters

    • language: string

    Returns string