Skip to content

Localization of uui-pagination #1005

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

Open
Luuk1983 opened this issue Feb 6, 2025 · 0 comments
Open

Localization of uui-pagination #1005

Luuk1983 opened this issue Feb 6, 2025 · 0 comments
Labels
bug Something isn't working needs triage This issue has not been tested by a team member yet state/sprint-candidate

Comments

@Luuk1983
Copy link

Luuk1983 commented Feb 6, 2025

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.

1.12.2

Bug summary

The uui-pagination element has no options for localization.

Specifics

I was using the uui-pagination element in a multi-lingual backoffice where a lot of our editor use Dutch as their backoffice language. I was very surprised that the buttons for 'previous', 'next', 'first' and 'last' are absolutely hardcoded in the element: https://github.com/umbraco/Umbraco.UI/blob/v1/contrib/packages/uui-pagination/lib/uui-pagination.element.ts. So for me there is no way (except maybe DOM manipulation) to change the labels to Dutch.

Steps to reproduce

Expected result / actual result

I would expect at least the option to have the ability to set these labels, or better yet, have the localization be based on the backoffice language.


This item has been added to our backlog AB#51518

@Luuk1983 Luuk1983 added bug Something isn't working needs triage This issue has not been tested by a team member yet labels Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage This issue has not been tested by a team member yet state/sprint-candidate
Projects
None yet
Development

No branches or pull requests

2 participants