Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Function languageName

    • A human label for a language code — the autonym by default, the English name with {native: false}. Accepts a regional code (fr_CH) as well as a base one. Falls back to the raw input for a code the catalogue does not know, so a label is never blank.

      Parameters

      • code: string | null | undefined
      • opts: { native?: boolean } = {}

      Returns string