SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function resolveLocaleChain

    • Flatten a locale's declared inherit into a concrete lookup order, most-specific first.

      Two rules, in this order:

      1. the locale itself, then anything it explicitly declares (nn → nb), transitively;
      2. BCP-47 truncation (de-AT → de), applied to each — mechanical, so never declared.

      There is deliberately no implicit English tail. English is a language, not a fallback: a Japanese user seeing scattered English is worse served than one seeing an untranslated key, and a package that genuinely wants English last can just declare it.

      Parameters

      Returns string[]