Skip to content

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

NameTypeRequiredDescription
timeZonestringNoUse the same IANA time zone on the server and client for hydration.
onMissing(info: MissingMessageInfo) => voidNoObserves a missing dependency. Rendering still throws after this hook.
onError(info: MessageFormatErrorInfo) => voidNoObserves execution failures. Rendering still throws after this hook.

Source entry on GitHub

Last updated: November 1, 2026