diff --git a/packages/core/client/src/locale/index.ts b/packages/core/client/src/locale/index.ts index e5c4efec6..5078cca57 100644 --- a/packages/core/client/src/locale/index.ts +++ b/packages/core/client/src/locale/index.ts @@ -1,6 +1,8 @@ import antdEnUS from 'antd/lib/locale/en_US'; +import antdJaJP from 'antd/lib/locale/ja_JP'; import antdZhCN from 'antd/lib/locale/zh_CN'; import enUS from './en_US'; +import jaJP from './ja_JP'; import zhCN from './zh_CN'; export type LocaleOptions = { @@ -23,6 +25,18 @@ export default { }, }, }, + 'ja-JP': { + label: '日本語', + // https://github.com/moment/moment/blob/develop/locale/ja.js + moment: 'ja', + // https://github.com/ant-design/ant-design/tree/master/components/locale/ja_JP + antd: antdJaJP, + resources: { + client: { + ...jaJP, + }, + }, + }, 'zh-CN': { label: '简体中文', // https://github.com/moment/moment/blob/develop/locale/zh-cn.js