GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Plugin/consumer seam mounted as GeoLeaf.I18n.t. Resolves key, returning the provided fallback (or the key itself) when no dictionary defines it.

      Distinct from getLabel, whose extra positional args are interpolation values: the t(key, fallback) contract (documented by the field renderer and consumed by feature-info) treats the second argument as a fallback string. Output is byte-identical to the previous inline fallbacks when no dict is registered; a registered dict now actually resolves the key (RM-P2 #7 — the .t seam was never mounted, so consumers always fell back).

      Parameters

      • key: string
      • Optionalfallback: string

      Returns string