@suluk/i18n - v0.1.0
    Preparing search index...

    Interface LocaleConfig

    @suluk/i18n — the locale primitive every content app needs. Consolidates the fragmented i18n surface into one package: a typed locale/direction model (defineLocales/dirOf), a Workers-safe message loader with default-locale fallback + {token} interpolation (t), compile-time key-parity + a runtime completeness grade, Intl number/ currency/date formatting (incl. Eastern-Arabic numerals), and framework-agnostic cookie→locale resolution. The catalog CONTENT is app-authored; this owns the MECHANISM. Astro middleware glue is the @suluk/i18n/astro subpath. CANDIDATE tooling.

    interface LocaleConfig {
        locales: readonly LocaleDef[];
        default: string;
    }
    Index

    Properties

    Properties

    locales: readonly LocaleDef[]
    default: string

    the fallback locale — every namespace must ship this one (the ?? en of saastarter i18n.ts:189).