ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.34k stars 8.14k forks source link

🧐Cannot change the language of DrawerSetting. #11290

Open lanthe2905 opened 2 months ago

lanthe2905 commented 2 months ago

🧐Cannot change the language of DrawerSetting.

I followed the instructions, but DrawerSetting does not catch the vi-VN language; it still defaults to Chinese. Please explain why.

  1. Folder locale my vi-VN image
  2. Select current VN image
  3. Result image

OS: Window 浏览器 | browser:Chorme

FearTheBeard95 commented 1 month ago

Hi did you get a solution for this?

🧐Cannot change the language of DrawerSetting.

I followed the instructions, but DrawerSetting does not catch the vi-VN language; it still defaults to Chinese. Please explain why.

  1. Folder locale my vi-VN image
  2. Select current VN image
  3. Result image

OS: Window 浏览器 | browser:Chorme

lanthe2905 commented 1 month ago

Hi did you get a solution for this?

🧐Cannot change the language of DrawerSetting.

I followed the instructions, but DrawerSetting does not catch the vi-VN language; it still defaults to Chinese. Please explain why.

  1. Folder locale my vi-VN image
  2. Select current VN image
  3. Result image

OS: Window 浏览器 | browser:Chorme

I have a workaround that is not the best solution, but it is currently working Flow my step: in the node_modules go to @ant-design > pro_layout > es ,Create your language folder and writing file same another folder. image in index.js add your language image