Next Plugin / server: ClientCatalogLocaleSource
Functions, types, and exports for Next Plugin / server: ClientCatalogLocaleSource.
Precedence between the locale root route param and the
x-palamedes-locale request header when selecting client chunk permutations:
"route-first"(default): prefersrootParams.localewhen present and only readsx-palamedes-localewhen nolocaleroot param exists."route": readsrootParams.localeonly and ignoresx-palamedes-locale."header": prefersx-palamedes-localeoverrootParams.localefor applications whose Proxy always sets or strips that header on every route.
import type { ClientCatalogLocaleSource } from "@palamedes/next-plugin/server"
type ClientCatalogLocaleSource = "route-first" | "route" | "header";
Last updated: November 28, 2026