Add more translations (#9707)

As per title
This commit is contained in:
Félix Malfait
2025-01-17 12:50:28 +01:00
committed by GitHub
parent 55feeaeef1
commit f38a25412e
43 changed files with 2895 additions and 651 deletions

View File

@ -0,0 +1,17 @@
import { i18n } from '@lingui/core';
import { I18nProvider } from '@lingui/react';
import { StoryFn } from '@storybook/react';
import { messages as enMessages } from '../../locales/generated/en';
i18n.load({
en: enMessages,
});
i18n.activate('en');
export const i18nDecoratorFront = (Story: StoryFn) => {
return (
<I18nProvider i18n={i18n}>
<Story />
</I18nProvider>
);
};