ant-design / ant-design/pro-components
🧐[问题]更新next.js版本从13.4.5到13.4.12后。ConfigProvider 设置local语言对pro components不生效
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述
我通过ConfigProvider 的local属性来设置语言为英语。今天更新next.js版本后发现包括ProTable,ProFormList在内的多个组件不生效。但是antd的组件都是生效的
### 💻 示例代码
```bash
export default function App({ Component, pageProps: { session, ...pageProps }, }: AppProps) {
const getPopupContainer = () => document.body;
return (
)
}
```
© 版本信息
ant-design/pro-components :2.6.11
antd : 5.8.3,
next : 13.4.8 或者更高的版本
### 🚑 其他信息
这是更新next.js版本前后的对比

Contributor guide
Research direction
Start with the provided App entry point and reproduce the locale behavior using ConfigProvider with en_US on Next.js 13.4.8 or later. Compare the language handling of ProTable and ProFormList with the working Ant Design components; done means the Pro components display English while using the shown configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100