This commit is contained in:
Ibrahima G. Coulibaly
2025-07-13 16:59:57 +01:00
parent 24e0e38b4a
commit ee32138b75
14 changed files with 329 additions and 70 deletions

View File

@@ -65,7 +65,9 @@ export const resources = {
} as const;
export type I18nNamespaces = keyof (typeof resources)['en'];
export type FullI18nKey = `${string}:${ParseKeys<I18nNamespaces>}`;
export type FullI18nKey = {
[K in I18nNamespaces]: `${K}:${ParseKeys<K>}`;
}[I18nNamespaces];
i18n.use(Backend).use(initReactI18next).init({
resources,