Hello and happy new year :)
I coded a little react App and it works just fine. The only problem is my React-Table. My whole site is in german language and react-tables default is of course english. So I searched a little bit on the internet and found out I can change the "previous" and "next" button by props.
But I didn't found a solution how to change the "Page 1 of 3" to "Seite 1 von 3" like we would say in germany. Would be grateful for every help!
PS: I hope it is enough information
CodePudding user response:
Are you using React-Table v6? If so, I found this on the official docs. There are the props for pageText
and ofText
, you could try changing those and see if that works.
CodePudding user response:
As mentioned in this issue and in other answer you should be able to pass text as prop.