Skip to content
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

fix: update slot translation when language changes #3340

Merged
merged 3 commits into from
Jun 1, 2024

Conversation

EugeneBalabai
Copy link
Contributor

@EugeneBalabai EugeneBalabai commented May 30, 2024

Translations in slots are not updated when the language changes.

Expected Result
When the language changes, all translations, including those in slots, should update dynamically.

Current Result
Translations in slots remain unchanged when the language is changed, requiring a manual refresh to update.

Reproduction
You can see the issue in this CodeSandbox.

@stepan662
Copy link
Collaborator

Hey, @EugeneBalabai e2e tests are failing, would you be able to look at it? This bug with slots should be easily testable in the example app. Let me know if you need help with e2e tests.

@EugeneBalabai
Copy link
Contributor Author

@stepan662 it should work now

Copy link
Collaborator

@stepan662 stepan662 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, looks good thank you for fixing this :)

@stepan662 stepan662 merged commit 33ca527 into tolgee:main Jun 1, 2024
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants