Files
paseo/packages/app/src/i18n/init.ts
T
chyendongnhanh338andGitHub 08ebe5e7e1 Complete client UI i18n migration
Adds client-side i18n support, language settings, translated UI copy, and locale parity coverage.
2026-06-11 14:15:35 +08:00

11 lines
280 B
TypeScript

type InitReporter = (message: string, error: unknown) => void;
export function observeI18nInit(
initPromise: Promise<unknown>,
report: InitReporter = console.error,
): void {
initPromise.catch((error: unknown) => {
report("[i18n] Failed to initialize", error);
});
}