Skip to content

TanStack Start: TanStackServerI18nOptions

Functions, types, and exports for TanStack Start: TanStackServerI18nOptions.

Page outline

Options for one request-local TanStack Start i18n instance.

import type { TanStackServerI18nOptions } from "@palamedes/tanstack"

type TanStackServerI18nOptions = 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