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

Open
#274 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.