2024-09-23 00:37:16 +02:00
|
|
|
import { i18nBuilder } from "keycloakify/login";
|
|
|
|
|
import type { ThemeName } from "../kc.gen";
|
2024-06-06 01:44:57 +02:00
|
|
|
|
2024-09-23 00:37:16 +02:00
|
|
|
/** @see: https://docs.keycloakify.dev/i18n */
|
2024-11-21 14:50:40 +01:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2024-10-25 03:04:43 +02:00
|
|
|
const { useI18n, ofTypeI18n } = i18nBuilder.withThemeName<ThemeName>().build();
|
2024-06-06 01:44:57 +02:00
|
|
|
|
2024-09-23 00:37:16 +02:00
|
|
|
type I18n = typeof ofTypeI18n;
|
|
|
|
|
|
|
|
|
|
export { useI18n, type I18n };
|