Skip to main content

Locale

Description

Select the locale option based on the locales data and the translation data created in the custom translations file. Language tag: 'en', 'de', 'it'...

Implementation

Example:

export default function AdminDashboard() {
return (
<MarkusAdmin
locale={'de'}
/>
)
}

tip

The default option is "en". For each new option you add, you must also add a translation and full locale option. Create locales and translation for a new option "de" or any other custom locale.

Resources: