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

Add i18n API to dashboard widget #7851

Open
tomivirkki opened this issue Sep 24, 2024 · 0 comments
Open

Add i18n API to dashboard widget #7851

tomivirkki opened this issue Sep 24, 2024 · 0 comments
Labels
enhancement New feature or request vaadin-dashboard

Comments

@tomivirkki
Copy link
Member

tomivirkki commented Sep 24, 2024

Describe your motivation

Currently, dashboard.i18n can be used to localize the widgets within a dashboard. Consider adding widget.i18n property for overriding the i18n properties on the widget level. This might also be required if we plan on supporting widgets outside the dashboard.

Describe the solution you'd like

Add public widget.i18n property to override the default values from the private widget.__i18n.

Additional context

See #7850

@yuriy-fix yuriy-fix added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vaadin-dashboard
Projects
None yet
Development

No branches or pull requests

2 participants