en
Calling this function will return the default English locale object to be set on ThirdwebProvider
to localize the thirdweb components.
You can also overrides parts of the default locale object by passing an object with the same structure as the default locale object and only those parts will be overridden.
Example
Use default English Locale
const english = en(); // default English locale object
<ThirdwebProvider locale={english}>
{" "}
<App />{" "}
</ThirdwebProvider>;
Override English Locale
const english = en({
connectWallet: {
signIn: "Sign in!"
}
})
<ThirdwebProvider locale={english}>
<App />
</ThirdwebProvider>