Skip to content

Remix / client: InitializeRemixClientI18nAsyncOptions

Functions, types, and exports for Remix / client: InitializeRemixClientI18nAsyncOptions.

Page outline
import type { InitializeRemixClientI18nAsyncOptions } from "@palamedes/remix/client"

type InitializeRemixClientI18nAsyncOptions<TLocale extends string, T extends PalamedesI18n> = {
    createI18n: () => T;
    /** Defaults to the browser document; used to verify `<html lang>`. */
    document?: RemixClientDocument;
    catalogUrl?: string;
    loadCatalog?: () => Promise<unknown>;
    catalog?: unknown;
};

Properties

NameTypeRequiredDescription
createI18n() => TYes
documentRemixClientDocumentNoDefaults to the browser document; used to verify <html lang>.
catalogUrlstringNo
loadCatalog() => Promise<unknown>No
catalogunknownNo

Source entry on GitHub

Last updated: November 1, 2026