magic-js
magic-js copied to clipboard
Set locale to "zh_CN", But email still use English
✅ Prerequisites
- [x] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
- [x] Are you running the latest SDK version?
- [x] Are you reporting to the correct repository (
magic-sdk)?
🐛 Description
[Description of the bug.]
I have set locale to 'zh-CN' , But Email is still English. In my webapp login modal show right
🧩 Steps to Reproduce
- set locale when init sdk
const magicClient = new Magic(magicLinkPK, {"locale": "zh_CN"});
-
Try to login, we can see login modal is right in Chinese
-
Check email, But email is still use English
🤔 Expected behavior
Expect send email with zh_CN
😮 Actual behavior
Actual send email with English
💻 Code Sample
const magicClient = new Magic(magicLinkPK, {"locale": "zh_CN"});
🌎 Environment
| Software | Version(s) |
|---|---|
magic-sdk |
19.3.1 |
| Browser | Chrome |
yarn |
|
| Operating System | Ubuntu desktop |
Hi,
Our team is going to triage the localization issue this week and I will follow up with you then. Thanks!
@oiler-zhangbo Just wanted to update you. We are still triaging and I will keep you posted.