Language
Set the language used across the Blux modals and UI.
The lang option sets the language for all Blux UI — the login, profile, send, swap, and fund modals. When omitted, Blux defaults to English.
Type
type LanguageKey =
| 'en' // English
| 'es' // Spanish
| 'pt' // Portuguese
| 'fr' // French
| 'de' // German
| 'ru' // Russian
| 'zh' // Chinese
| 'ja' // Japanese
| 'ko'; // Korean
lang?: LanguageKey;Usage
<BluxProvider
config={{
appName: "MyApp",
lang: "es",
}}
>
{children}
</BluxProvider>createConfig({
appName: "MyApp",
lang: "es",
});Want to preview the supported languages? Try the live demo →