Skip to content

Runtime / server-bundled: BundledServerI18nOptions

Functions, types, and exports for Runtime / server-bundled: BundledServerI18nOptions.

Page outline

Options for one request-local i18n instance backed by bundled catalogs.

import type { BundledServerI18nOptions } from "@palamedes/runtime/server/bundled"

type BundledServerI18nOptions = CreateI18nOptions & {
    /** The active locale selected by the host's request policy. */
    readonly locale: string;
};

Properties

NameTypeRequiredDescription
localestringYesReadonly. The active locale selected by the host's request policy.
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