@rekurt/openkline - v0.2.0
    Preparing search index...

    Function createI18n

    • Build an I18n bundle.

      locale is a BCP-47 tag (e.g. 'de-DE'); when omitted the formatters use the locale-agnostic utils defaults (formatPrice etc.) so the chart stays byte-for-byte identical to the pre-C6 behavior — opting into i18n is explicit. overrides patches any subset of Messages; unspecified keys fall back to DEFAULT_MESSAGES.

      The returned date memoizes one Intl.DateTimeFormat per distinct resolution bucket so axis rendering doesn't reallocate per label.

      Parameters

      • Optionallocale: string
      • Optionaloverrides: Partial<Messages>

      Returns I18n