Replies: 2 comments 1 reply
-
@voldemote The Localization API works in React too! You can use any off-the-shelf package to manage localized routing or to inject a language selection drop-down for users, and then you can pass the user's preference into the <RainbowKitProvider locale="zh-CN" {...etc}>
{/* Your App */}
</RainbowKitProvider> Reference the Localization docs here for more information. |
Beta Was this translation helpful? Give feedback.
-
Hi @DanielSinclair, thank you for your response. We can set language using locale prop of RainbowkitProvider, but can't change it dynamically into multiple languages like English, Japanese etc. I implemented dropdown for multiple language option with i18n module, and when it changes, language is changed. |
Beta Was this translation helpful? Give feedback.
-
Rainbowkit localization (multiple language option) is available in only Next.js?
I want to use EN, CN, JP languages on my Dapp.
You know, we can't use any hook in index file of React, then it means, not able to implement localization in react?
If you know how to implement, please let me know.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions