Chonky
Chonky copied to clipboard
String translation
Hello!
I'm trying to apply my translation to the component, but i can't understand how it works. I'm changing the language in I18n prop setting another locale and defaultLocale different from 'en', but is not working.
From what I've seen, with the i18n prop i can format the date and other things in the files, but not the strings inside the span components (like "Sort by name"). I'm doing something wrong or is not possible to do it?
I found another way to do this, but i whant to use the component prop if is possible.
Hi, I'm having the same issue. Did you ever find a solution for this?
You can check here for the example in the storybook, where you can find how to set the messages for your custom locale. I am trying to find the list of all the tokens that i can translate. Can anyone help and provide the list of tokens?