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

Implement a new method to refresh text widgets when language changes #651

Open
itarozzi opened this issue Nov 27, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@itarozzi
Copy link

When I change the locale at runtime using lv_i18n_set_locale("it-IT") the UI doesn't refresh and text remains in previous language.

I'd like a new method to force set text for all widgets that uses translated literals.

At the moment the refresh works calling ui_init() again, but this seems to have some issue with eez-flow and local variables.

@mvladic mvladic added this to the 0.21.0 milestone Dec 7, 2024
@mvladic mvladic modified the milestones: 0.21.0, 0.22.0 Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants