pipertts - v1.3.0
    Preparing search index...

    Function getPiperModelsByLanguage

    • Returns catalog model ids filtered by language.

      Matching rules:

      • exact code match (example: en_US, also accepts en-US)
      • family prefix match (example: en matches en_US, en_GB, ...)

      Parameters

      • languageCode: string

        Exact locale (en_US) or family prefix (en).

      Returns Promise<string[]>

      Sorted catalog model ids matching the requested language.

      When languageCode is empty.