Skip to content

MatPaginator template internationalization #12322

Open
@maksymzav

Description

@maksymzav

Bug, feature request, or proposal:

Feature request

What is the expected behavior?

Provide a possibility to specify MatPaginator labels (Items per page, next page, previous page) in a template, like we do in almost all existing Angular Material components. It will allow us to use Angular i18n for labels internationalization, and simplify work with paginator.

What is the current behavior?

Currently according to documentation we need to provide MatPaginatorInt instance, specifying labels in this instance. But Angular i18n doesn't support code/runtime translations, so we need to use an additional internationalization tool to get translations for MatPaginator.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

all

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/paginatorfeatureThis issue represents a new feature or feature request rather than a bug or bug fixi18nThis issue is related to internationalization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions