ant-design / pro-components

🏆 Use Ant Design like a Pro!
https://pro-components.antdigital.dev
MIT License
4.23k stars 1.35k forks source link

🐛[BUG] Thai translation is not working as expected #6529

Closed EugeneGohh closed 12 months ago

EugeneGohh commented 1 year ago

提问前先看看:

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

🐛 bug 描述

Refer to the Ant Design repository on GitHub Discussions.

📷 复现步骤

🏞 期望结果

💻 复现代码

"antd": "^4.24.7",
"react": "^17.0.0",
"umi": "^3.5.0",
"umi-serve": "^1.9.10",
"@ant-design/pro-components": "^2.3.8",
"@ant-design/pro-descriptions": "^1.6.8",
"@ant-design/pro-form": "^1.18.3",
"@ant-design/pro-layout": "^6.15.3",
"@ant-design/pro-table": "^2.30.8",

© 版本信息

🚑 其他信息

github-actions[bot] commented 1 year ago

以下的 Issues 可能会帮助到你 / The following issues may help you

EugeneGohh commented 1 year ago

Refer #6535

EugeneGohh commented 1 year ago

@chenshuai2144 Can I have some input on this? The thai translation is not working as expected but it's working in this pull request #6535

Refer to this link.

https://procomponents.ant.design/en-US/components/table?current=1&pageSize=5#internationalization-related-configuration

image
chenshuai2144 commented 1 year ago

TAutomatically replying with ChatGPT can be attempted, but it cannot be guaranteed to be completely accurate and may not fully address all issues. Please feel free to reply if you have any further questions or concerns. 此回复基于 ChatGPT 自动生成,可以尝试下方案,官方员会在一定时间后继续继续处理。

Hi there! Thank you for reaching out to me. Based on the information you provided, it seems that the Thai translation is not working as expected in Ant Design's Table component. However, it is working in pull request #6535.

To diagnose this issue further, could you please provide more details on how the Thai translation is not working as expected? Also, could you please provide the version of Ant Design and any relevant code snippets you have?

In the meantime, I suggest checking the Ant Design documentation on internationalization configuration to see if there are any additional steps you may have missed: https://ant.design/docs/react/i18n.