Core / locale: LocaleSource
Functions, types, and exports for Core / locale: LocaleSource.
Headless locale controls: resolution, the deliberate-choice cookie, and the
suggestion decision — all framework-agnostic and configurable. UI and router
navigation stay with the caller. See docs/locale-strategies.md for the
durable integration guidance.
import type { LocaleSource } from "@palamedes/core/locale"
type LocaleSource = "accept-language" | "cookie" | "default" | "host" | "route" | "subdomain" | "tld";
Last updated: November 10, 2026