Localisation

We offer an out of the box built-in translations without any configurations required. By default, we support the enlocale for English language users. If available, we will detect your user's language and choose the applicable locale translations. Developers are always able to override the default language and have their own method of providing a locale and a suitable fallback.

To specify a language, simply add locale="ca" as a prop to your AuthUiProvider.

import { AuthUiProvider } from '@futureverse/auth-ui';

export default function App() {
  return <AuthUiProvider locale="ca">{/* Your App */}</AuthUiProvider>;
}

If a passed in locale is not supported, then the default fallback language is English.

Supported Languages

LanguageLocaleShortform

English

en

en

Español

es-ES

es

Català

ca-ES

ca

Last updated

© 2023 -> ♾️