Archived Content from Web3Auth Community
This topic was originally posted by ishmael on 7/21/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
Please provide the following details too when asking for help in this category:
- SDK Version: 6.1.4
- Platform: Web/Nextjs
- Browser Console Screenshots:
Shows that locale is being set, but language does not reflect the setting. Tried with many other options as well.
Please provide the Web3Auth initialization and login code snippet below:
const loginWithEmail = async () => {
if (!web3auth) {
uiConsole("web3auth not initialized yet");
return;
}
const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
loginProvider: "email_passwordless",
extraLoginOptions: {
login_hint: "hello@web3auth.io",
ui_locales: "PT",
// also tried ui_locales: "portuguese fr-CA fr PT ",
},
});
setProvider(web3authProvider);
setLoggedIn(true);
};
