I could have successfully implemented Web3Auth thanks to this community. I really appreciate.
Now I would like to display the login modal in Japanese.
How can I select the default language from the Moralis side?
defaultLanguage: "ja"
is not working.
Where have you tried setting the defaultLanguage
parameter? Are you using a custom Web3Auth connector?
Hey, thanks for the feedback.
No.
At first, I used as a parameter of Moralis.authenticate()
.
It didnβt work. So I have set the following code along with it.
const web3auth = new Web3Auth(Web3AuthOptions);
const openloginAdapter = new OpenloginAdapter({
adapterSettings: {
clientId: 'BLSlQ_QjUEZlLOCvnyFzvPfL24FL2Nh7aQPFVvGMi-gXE7y7H2NOdjH589kfVvMtT6VtGt66S76O9WJLbokuu64',
uxMode: "popup",
whiteLabel: {
name: "Voxel",
defaultLanguage: "ja",
},
},
});
web3auth.configureAdapter(openloginAdapter);
No response whatsoever.
Any suggestion? Thank you.
Looking at the Web3Auth docs, Iβm not sure if the language (defaultLanguage) can be applied to the login modal, only the OpenLogin pages (social or email logins).
I have read the docs, but still not very sure what the openlogin
is, Is Moralis compatible to openlogin
?
Onboarding experience with English for non-English speakers is terrible.
Do you have any alternative to Web3Auth that provides localization capability?
Is this a way to go?
Thank you.
OpenLogin here refers to the pages that pop up after you sign in via the Web3Auth modal e.g. with Google - itβs not to do with Moralis specifically. You could get in contact with Web3Auth to see if it can be done.
You could try Magic as an alternative - check out their docs.
Hmm, it seems this is the way to go. Thanks!