ja

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

const japanese = ja();

Override Locale

const japanese = ja({
connectWallet: {
signIn: "サインイン",
},
});

Pass it to ThirdwebProvider 's locale prop to localize the thirdweb components.

function Example() {
return (
<ThirdwebProvider locale={japanese}>
<App />
</ThirdwebProvider>
);
}

Parameters

Returns