Start implementing per theme variant translations and ability to add extra languages
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
import { createUseI18n } from "../../dist/login";
|
||||
import { i18nApi } from "../../dist/login";
|
||||
import type { ThemeName } from "../kc.gen";
|
||||
|
||||
export const { useI18n, ofTypeI18n } = createUseI18n({});
|
||||
export const { useI18n, ofTypeI18n } = i18nApi
|
||||
.withThemeName<ThemeName>()
|
||||
.withTranslations({})
|
||||
.create();
|
||||
|
||||
export type I18n = typeof ofTypeI18n;
|
||||
|
Reference in New Issue
Block a user