🌐Internationalization
Localization support Edge, Chrome, Firefox & Safari.
Able Pro supports four types of international languages ('en' - English, 'fr' - French, 'ro' - Romanian, 'zh' - Chinese). You can switch language from the header bar. We internationalise the main menu for all four languages. When you change it from the header, you will see the effect there. If you want to configure one more language or set a default language, then continue reading below...
How does it work?
Data for locale files exists at src\utils\locales
{
"accordion": "Accordion",
"account-profile": "Account Profile",
"add-new-product": "Add New Product",
...
...
}
To change the Locale, open the file src\config
file and set language
// types
import { DefaultConfigProps } from 'types/config';
...
// ==============================|| THEME CONFIG ||============================== //
const config: DefaultConfigProps = {
...
i18n: 'en',
...
};
export default config;
Last updated