Lokalized JavaScript — Version 1.0.0
    Preparing search index...

    Function forLocaleMatch

    • Create per-call options from a precomputed locale match.

      strings.get(key, undefined, forLocaleMatch(negotiator.matchForLanguageRanges(ranges)));
      

      The match structure is validated immediately. Its fallback and considered locales are checked against the instance when the options are consumed.

      Parameters

      Returns Readonly<{ localeMatchResult: LocaleMatchResult }>