React Router: ReactRouterI18nOptions
Functions, types, and exports for React Router: ReactRouterI18nOptions.
Page outline
Request-local createI18n options other than the locale, such as timeZone.
import type { ReactRouterI18nOptions } from "@palamedes/react-router"
type ReactRouterI18nOptions = Omit<BundledServerI18nOptions, "locale">;
Properties
| Name | Type | Required | Description |
|---|---|---|---|
timeZone | string | No | Use the same IANA time zone on the server and client for hydration. |
onMissing | (info: MissingMessageInfo) => void | No | Observes a missing dependency. Rendering still throws after this hook. |
onError | (info: MessageFormatErrorInfo) => void | No | Observes execution failures. Rendering still throws after this hook. |
Last updated: November 1, 2026