Skip to content

Pagination component hard codes localization values for 'Next' and 'Previous' #1249

@rfearing

Description

@rfearing

Description

The pagination component found at Pagination.tsx hard codes the values "Next" and "Previous". This limitation prevents us from translating or localizing these values, which is essential for providing a fully localized experience.

Context

As a result, pages such as this articles index page are not fully localized, leading to inconsistencies in the user experience for non-English speakers.

Suggested Solution

Consider making the pagination text configurable through props or context, allowing developers to provide localized strings for these values. This change would enhance the usability of the component in multilingual applications.

Previous and Next while the above content is in spanish

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions