Search code examples
javascripthtmlcssreactjsantd

ANTD: how to change the text inside the pagination select box


how can I change the text inside the ant design pagination select? there's no solution in the documents,

I need to change the word "page" to something else: enter image description here


Solution

  • After searching almost everywhere, I came to this conclusion that there's not a normal way to change the default words.

    For changing the language there's the locale option, and in the files defined for locale we can change the default words, which is an unusual thing to do but not impossible!