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

    Function formatMessage

    • Format an ICU-subset message with params, using language for plural category selection and # number rendering (see the module doc for the exact subset).

      This is the single formatting path behind ITranslator.t/lookup — pack messages format with the active language, the English call-site fallback with 'en'. Plain {name} messages behave exactly like interpolate.

      Parameters

      • message: string
      • Optionalparams: Record<string, unknown>
      • language: string = 'en'

      Returns string