CodePudding user response:
Antd internationalization to achieve
CodePudding user response:
Antd internationalization, inside pages in the form of page:The import {Card, Table, ConfigProvider} from 'antd';
The import zhCN from 'antd/es/locale/zh_CN';//zhCN assignment below in Chinese language pack.
ConfigProvider is a component that requires a locale property, can define a inside the state, enclosing the state={locale: zhCN};