Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

【Bug】开启mako以后umi中antd的国际化失效 #1626

Open
csic21 opened this issue Oct 10, 2024 · 3 comments
Open

【Bug】开启mako以后umi中antd的国际化失效 #1626

csic21 opened this issue Oct 10, 2024 · 3 comments
Assignees

Comments

@csic21
Copy link

csic21 commented Oct 10, 2024

What happens?

开启mako以后umi中antd的locale失效

只要在umi max项目的config开启
mako:{},
locale: {
antd: true,
baseSeparator: '-',
title: false,
},
通过设置umi_locale为任意语言,antd 都是英文,但项目本身国际化正常
image

不开启mako:{},就不会有这个问题

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • @umijs/max:4.3.24
  • Node Version:
  • Platform:
@csic21 csic21 changed the title 开启mako以后umi中antd的locale失效 开启mako以后umi中antd的国际化失效 Oct 10, 2024
@csic21 csic21 changed the title 开启mako以后umi中antd的国际化失效 【Bug】开启mako以后umi中antd的国际化失效 Oct 10, 2024
@hualigushi
Copy link
Contributor

github仓库:https://github.com/hualigushi/umi-mako-issue1626
截屏2024-10-15 14 23 29
没复现

@csic21
Copy link
Author

csic21 commented Oct 15, 2024

@csic21
Copy link
Author

csic21 commented Oct 15, 2024

github仓库:https://github.com/hualigushi/umi-mako-issue1626 截屏2024-10-15 14 23 29 没复现

你好增加了一个PR,可以看一下吗

@Jinbao1001 Jinbao1001 self-assigned this Oct 17, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants