Runtime / node: NodeI18nOptions
Functions, types, and exports for Runtime / node: NodeI18nOptions.
Page outline
Options for one request-local i18n instance.
import type { NodeI18nOptions } from "@palamedes/runtime/node"
type NodeI18nOptions = CreateI18nOptions & {
/** The active locale selected by the host's request policy. */
readonly locale: string;
};
Properties
| Name | Type | Required | Description |
|---|---|---|---|
locale | string | Yes | Readonly. The active locale selected by the host's request policy. |
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