magiclabs / magic-js

Magic browser/React Native JavaScript SDK is your entry-point to integrating passwordless authentication inside your application.
https://magic.link/docs/api-reference/client-side-sdks/web
Apache License 2.0
463 stars 86 forks source link

i18n/locale pt-BR for Brazilian Portuguese #474

Open LuwkasLima opened 1 year ago

LuwkasLima commented 1 year ago

✅ Prerequisites

✨ Feature Request

Although we have available European Portuguese locale 'pt', unfortunately there is still a barrier for ordinary people in Brazil to understand it. Some of the terms do not make sense, especially the ones used in Magic's pop-up:

image

🧩 Context

According to ChainAnalysis, Brazil is the 7th country in crypto adoption despite the fact that most wallets are not in pt-BR (imagine if they were...)

(note: Out of 234 million people that speak Portuguese, 216 million are from Brazil)

I've recently worked on a project to translate a wallet connector to pt-BR and will be happy to contribute to this one if possible/necessary.

💻 Examples

[Do you have any example(s) for the requested feature? If so, describe/demonstrate your example(s) here.]

am-hernandez commented 1 year ago

Hello @LuwkasLima , thank you for raising this issue! We will work on including support for pt-BR!

We will follow up with you in this issue thread when support for Brazilian Portuguese is available. Thanks again for reporting this and thanks for the metrics and offer to help. I think this may be a simple lift for us but will reach out if that changes.

pgbrandao commented 1 year ago

I'll gladly translate or proofread if help is needed :)

am-hernandez commented 1 year ago

@pgbrandao We appreciate the offer, but the translation functionality is handled by a tool we use. Should be a simple lift for us, just a matter of time when we add support for additional languages. I will follow up here when pt-BR support is added.

ViniciusTenenteSecurrency commented 1 year ago

Any news on that? I would like to see pt-br localization as well.