Chonky icon indicating copy to clipboard operation
Chonky copied to clipboard

String translation

Open alberto-aresu opened this issue 2 years ago • 2 comments

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.

alberto-aresu avatar Jul 06 '22 08:07 alberto-aresu

Hi, I'm having the same issue. Did you ever find a solution for this?

ElZombieIsra avatar Jan 26 '23 23:01 ElZombieIsra

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?

iknight18 avatar Apr 14 '23 11:04 iknight18