magic-js icon indicating copy to clipboard operation
magic-js copied to clipboard

Set locale to "zh_CN", But email still use English

Open oiler-zhangbo opened this issue 2 years ago • 2 comments

✅ 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

  1. set locale when init sdk
    const magicClient = new Magic(magicLinkPK, {"locale": "zh_CN"});
  1. Try to login, we can see login modal is right in Chinese image

  2. Check email, But email is still use English image

🤔 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

oiler-zhangbo avatar Aug 25 '23 03:08 oiler-zhangbo

Hi,

Our team is going to triage the localization issue this week and I will follow up with you then. Thanks!

joshuascan avatar Sep 11 '23 20:09 joshuascan

@oiler-zhangbo Just wanted to update you. We are still triaging and I will keep you posted.

joshuascan avatar Sep 19 '23 16:09 joshuascan