Skip to content

Localization of uui-pagination #1005

@Luuk1983

Description

@Luuk1983

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageThis issue has not been tested by a team member yetstate/sprint-candidate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions