iya-sts
    Preparing search index...

    Variable templateFor

    templateFor: (id: string, languages: string[]) => any = ...

    Type Declaration

      • (id: string, languages: string[]): any
      • Chooses the wording of a message: for each language in order, the realm's own, then the built-in translation in that language; else the built-in English.

        Parameters

        • id: string

          the message's id

        • languages: string[]

          the languages to try, best first

        Returns any

        { spec, parts, lang, own }, or null for an unknown message