DOCS

es

Calling this function will return the default Spanish 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 Spanish Locale

const spanish = es(); // default English locale object

<ThirdwebProvider locale={english}>
  {" "}
  <App />{" "}
</ThirdwebProvider>;

Override Spanish Locale

const spanish = es({
 connectWallet: {
   signIn: "Iniciar sesión"
 }
})

<ThirdwebProvider locale={spanish}>
 <App />
</ThirdwebProvider>

Parameters

Returns