elastic / elastic/eui

[Pagination] components page number is not formated according to i18n

Open
#8,281 6 comments 1 reaction 0 assignees View on GitHub
stale-issue
Dominant language
TypeScript
Stars
6.4k
Forks
911
Avg merge
2d 11h
Merged PRs (30d)
65

Description

**Describe the bug**
The pagination component does not use i18n formatting for page numbers.

**Impact and severity**
This is not a really big issue for users, but also a small change to improve pagination with large number of pages.

**Environment and versions**
- EUI version: v99.9

**To Reproduce**
cf. screenshot and snippet below (also active on the documentation page: https://eui.elastic.co/#/navigation/pagination )

**Expected behavior**
Use i18n formatted values for pages. https://github.com/elastic/eui/blob/main/packages/eui/src/components/pagination/pagination_button.tsx#L35

**Minimum reproducible sandbox**
```

```
**Screenshots**

![Image](https://github.com/user-attachments/assets/2d10a073-00e9-4949-a65b-437eb368440a)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.