react-component / react-component/pagination
Prev and Next Button include "Korean" symbols when mouse-over -https://react-component.github.io/pagination/?path=/story/rc-pagination--default
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 674
- Forks
- 333
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
Issue
https://react-component.github.io/pagination/?path=/story/rc-pagination--default
Button for Prev and Next shows korean text when mouse-over, how to make it english or change text?
Solution
https://github.com/react-component/pagination/tree/master/src/locale - List of locales.
Example english.
const localeEn = {
// Options.jsx
items_per_page: '/ page',
jump_to: 'Go to',
jump_to_confirm: 'confirm',
page: '',
// Pagination.jsx
prev_page: 'Previous Page',
next_page: 'Next Page',
prev_5: 'Previous 5 Pages',
next_5: 'Next 5 Pages',
prev_3: 'Previous 3 Pages',
next_3: 'Next 3 Pages',
};
<Pagination locale={LocaleEng} />
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked pagination story and inspect the locale files under src/locale, then trace how the Pagination locale prop controls the Prev and Next labels. Done means the hover text is English when the English locale example is used, with the expected locale behavior documented or corrected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100