You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great project. Wdyt about adding somewhere a global language switcher.
It can be added as a variant that will show up with every story when storybook is configured for it. Often the length of the text changes the appearance of a component and with this change it would be easy to spot regressions.
Gettext has helpers that set the current locale in process dictionary - this is all that's needed:
What you are suggesting makes sense.
Until it is implemented you can hijack theming features to call Gettest.put_locale/1 when a different theme is picked.
Thanks for the great project. Wdyt about adding somewhere a global language switcher.
It can be added as a variant that will show up with every story when storybook is configured for it. Often the length of the text changes the appearance of a component and with this change it would be easy to spot regressions.
Gettext has helpers that set the current locale in process dictionary - this is all that's needed:
The text was updated successfully, but these errors were encountered: