Previewing a Language in Locale Development
In Storybook
To preview your component in different languages, create separate stories for each language. Example:
src/login/pages/Login.stories.tsx
If you want all your story to by by default in an other language you can edit:
src/login/KcPageStory.tsx
With the Vite or Webpack developement server
If, for previewing your pages, you don't use storybook but the dev mode of storybook or webpack, you can specify the language like so:
src/main.tsx
Ok now let's see how to modify the base translation to best fit your usecase or create new translation messages:
Adding New Translation Messages Or Changing The Default Ones