-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Slot Content Does Not Update on Language Change with Vue Router #3343
Comments
Is this some special case with the Vue Router? |
@stepan662 I am not sure it is a special case. I can reproduce it on any page.
and use |
@stepan662 is there any news? |
Sorry, I didn't get to it yet. |
Hey, this solution seems to work well for your case. #3348 |
@stepan662 yes, it works. Thank you! |
Issue Description:
When using Vue with Vue Router and TolgeeJs, the text inside slots of Vue components does not translate when changing the language. This problem is reproduced if you navigate to any page other than the initial one and change the language there.
Steps to Reproduce:
Expected Behavior:
The text inside the slots of Vue components should translate and update to the new language when the language is changed.
Actual Behavior:
The text inside the slots of Vue components remains in the original language and does not update upon changing the language.
Reproduction Link:
Codesandbox Example
Video Example
Additional Context:
Vue version: 3.4.27
Vue Router version: 4.3.2
@tolgee/vue version: 5.28.0
Browser: Chrome
Operating System: macOS
The text was updated successfully, but these errors were encountered: