You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ant design pro table and by default the text. in pagination appears to be in chinese language, is there any way to customize the text in English language.
Not only this there are other fields like this setting bar title is also on chinese by default, is there any way to customize these stuffs.
I'm using Next.js with Ant design pro and using react-18next for translation.
The text was updated successfully, but these errors were encountered:
Solved it by passing showTotal inside pagination object:
pagination={{current: currentPageNumber,pageSize: currentPageSize,total: meta?.total,showTotal: (total,range)=>(<div>{`Showing ${range[0]}-${range[1]} of ${total} total items`}</div>),}}
I'm using ant design pro table and by default the text. in pagination appears to be in chinese language, is there any way to customize the text in English language.
Not only this there are other fields like this setting bar title is also on chinese by default, is there any way to customize these stuffs.
I'm using Next.js with Ant design pro and using
react-18next
for translation.The text was updated successfully, but these errors were encountered: