New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Storybook 7 breaks localization implementation with vue-i18n #22900
Comments
Do you a have a reproduction repo you can share? If not, can you create one? Go to https://storybook.new or see repro docs. Thank you! 🙏 |
@shilman Yes, I have a repo that you can check to reproduce a bug: https://github.com/MargaritaBusyginaCa/sb7-locale-bug after you clone the repo and run |
@shilman I also created a screen recording of the current behaviour of storybook 7 + vue-i18n Screen.Recording.2023-06-14.at.12.06.09.PM.mov |
Hi, @MargaritaBusyginaCa I opened a PR on your repo to fix that, that were some issues with dependencies I cleaned. up deprecated ones, but this has nothing to do with the issue |
Hello @chakAs3, thank you for your contribution. I noticed you added |
from your screenshot, I think you should set legacy to true. by the way, I did not change the syntax, I used your exact code, the difference I'm creating an instance for each story. but I upgraded the plugin |
Describe the bug
Hello, we are using
vue-i18n
and@vee-validate/i18n
in our project for changing locale from ENG to FR.It worked perfectly for storybook 6.5, but when we updated to storybook version 7, changing locale no longer works unless the story gets reloaded (on browser window reload, not story within storybook).
There are no warnings or errors in the console, and I believe the issue is coming from storybook 7.
To Reproduce
No response
System
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: