i18n: howto re-render page after catalog change #3390
maurerdietmar
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use gettext for i18n, so our code looks like this
And we want to change the language by simply loading another catalog. Ideally,
I want something like:
The question is how we can implement force_yew_page_redraw()? Is there a function in Yew that allows to clear all state so that all components are newly created (without reloading the page)?
We currently use this workaround:
Any better ideas?
Beta Was this translation helpful? Give feedback.
All reactions