Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]: 中英文邮件回复模板配置不生效 || [Bug]: Chinese and English email reply template configuration does not take effect #2594

Open
RylanBot opened this issue Jul 4, 2024 · 2 comments
Labels
bug Something isn't working Inactive

Comments

@RylanBot
Copy link

RylanBot commented Jul 4, 2024

问题描述 | Describe the bug

代码仓库:https://github.com/RylanBot/waline-vercel
我看文档中 locales 支持配置不同语言的邮件模板,但我部署后收到的邮件依旧为旧的。
不知道是否我的代码存在问题。
1XU)YXIF1L2(~%E)$4B61JN

问题网站 | Website URL

https://waline.rylan.cn/

服务部署在哪里? | Where your waline deploy?

Vercel (Default)

数据存储在哪里?| Where your comment data store?

LeanCloud(https://leancloud.app)


Problem description | Describe the bug

Code repository: https://github.com/RylanBot/waline-vercel
I read that locales in the documentation supports configuring email templates in different languages, but the emails I received after deployment were still old.
Don't know if there is a problem with my code.
1XU)YXIF1L2(~%E)$4B61JN

Question Website | Website URL

https://waline.rylan.cn/

Where is the service deployed? | Where your waline deploy?

Vercel (Default)

Where is the data stored? | Where your comment data store?

LeanCloud(https://leancloud.app)

@RylanBot RylanBot added the bug Something isn't working label Jul 4, 2024
@github-actions github-actions bot changed the title [Bug]: 中英文邮件回复模板配置不生效 [Bug]: 中英文邮件回复模板配置不生效 || [Bug]: Chinese and English email reply template configuration does not take effect Jul 4, 2024
@RylanBot RylanBot closed this as completed Jul 5, 2024
@lizheming
Copy link
Collaborator

lizheming commented Jul 5, 2024

这是已经解决了是吧?


This has been resolved, right?

@RylanBot
Copy link
Author

RylanBot commented Jul 6, 2024

@lizheming

昨晚使用 patch-package 强行覆盖了 node_modules 中原始 locales 解决的,在 index.js 配置始终不生效。
但刚发现了新问题,我的评论系统在客户端初始化时的语言无论是中文或者英文,发送的邮件模板始终是英文的。

重新开放这个 issue,麻烦您再看看我的代码仓库 😥


@lizheming

Last night, I used patch-package to forcibly cover the original locales in node_modules. The configuration in index.js never took effect.
But I just discovered a new problem. No matter whether the language of my comment system is Chinese or English when the client is initialized, the email template sent is always in English.

Re-open this issue, please take a look at my code repository 😥

@RylanBot RylanBot reopened this Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Inactive
Projects
None yet
Development

No branches or pull requests

2 participants