-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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: I18n functionality #3622
Comments
Yeah, unfortunately, at the moment the UI (once rendered) is not updating on locale changes, so you would need to rerender the editor. |
Well, i don't know if backbone have template binding, so i'll close for a while.. |
Has this not been solved yet? I tried to use editor.render(), it works, but it duplicates the panels... |
This issue is not solved. It needs to be reopened. Setting the locale only works when initializing the editor. |
Version: latest
Are you able to reproduce the bug from the demo?
What is the expected behavior?
to editor.I18n.setLocale("es") work in runtime.
Describe the bug detailed
I don't know if it's a bug or it's not supposed to work this way, also, i don't know backbone enough to know if it's possible, but, when use editor.I18n.setLocale("es") on run time, it doesn't change the labels.
What is the current behavior?
It's just set the locale internally, but not change the labels at runtime.
Describe the bug detailed
Of course, the plugin works, if user is es, pt or en, it's setup properly.
But when we will set up a new editor with plugins, we can't change the labels, or i don't know how 🤔 (This is why i've created this PR: GrapesJS/blocks-basic#38)
The text was updated successfully, but these errors were encountered: