This topic was originally posted by goktugkoksal on 2/16/2024.
This content has been migrated from our previous community forum to preserve valuable discussions.
Would like to change modal language dynamically on website is it possible?
I haven’t had the chance to try this out myself, but one approach could be to define a state for the language in your application. This language state could then be switched using a dropdown in your app’s UI. You can include this language state as a dependency in the dependency array of the useEffect hook, which contains the Web3Auth initialization code. When initializing Web3Auth, pass this state as the language parameter.
Please give this method a try and let me know how it works out for you.