We provide multiple ways to support multilingual internationalization:
locale
configuration provided by the component, you can implement internationalization within the component.locale
configuration in Web3ConfigProvider, you can implement global configuration.@ant-design/web3
, we provide some multilingual support built-in.For the specific language configuration content supported, please refer to the Locale type definition. For languages and components that are not yet supported, please submit a Pull request to support.
In addition, in @ant-design/web3-wagmi
, WagmiWeb3ConfigProviderProps
will pass locale
to Web3ConfigProvider
to simplify your use.