ant-design / ant-design/pro-components

🐛[BUG]将语言设置成vi-VN,同时需要修改某个按钮的文案,proTable组件的国际化部分失效,变为中文

Open
#9,016 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述

### 📷 复现步骤

[[](https://codesandbox.io/p/sandbox/cha-xun-biao-ge-forked-7rnxfn?file=%2FTest.tsx%3A21%2C18)

### 🏞 期望结果

![Image](https://github.com/user-attachments/assets/652efcf5-885a-4391-9bae-3d07915ef8a6)

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction in Test.tsx at line 21, column 18, and verify the vi-VN locale while changing a custom button label. Then trace the ProTable localization entry point used by that example. Done means ProTable text remains in vi-VN and the custom label still takes effect in the reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, internationalization, localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.