Various little adjustments relative to the new i18n API
This commit is contained in:
@ -5,7 +5,10 @@ import { Reflect } from "tsafe/Reflect";
|
||||
const { useI18n, ofTypeI18n } = i18nInitializer
|
||||
.withThemeName<"my-theme-1" | "my-theme-2">()
|
||||
.withExtraLanguages({
|
||||
he: () => import("./he")
|
||||
he: {
|
||||
label: "עברית",
|
||||
getMessages: () => import("./he")
|
||||
}
|
||||
})
|
||||
.withCustomTranslations({
|
||||
en: {
|
||||
|
Reference in New Issue
Block a user