GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Persists code and reloads with ?lang=<code>.

      Both channels are written for the same reason as the profile switcher: the URL parameter makes THIS load deterministic (and is what initI18n reads first), while localStorage carries the preference to later visits.

      Parameters

      • code: string

        Target language code (validated).

      Returns void