# Internationalization

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 internationalize 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`**

{% code title=".json file" %}

```json
{
  "accordion": "Accordion",
  "account-profile": "Account Profile",
  "add-new-product": "Add New Product",
  ...
  ...
}
```

{% endcode %}

To change the Locale, open the file **`src\config.jsx`** file and set language

{% tabs %}
{% tab title="VITE (TS)" %}
{% code title="src\config.tsx" %}

```typescript
// types
import { DefaultConfigProps } from 'types/config';

...

// ==============================|| THEME CONFIG ||============================== //
const config: DefaultConfigProps = {
  fontFamily: `Inter var`,
  i18n: 'en',
 ...
};

export default config;
```

{% endcode %}
{% endtab %}

{% tab title="VITE (JS)" %}
{% code title="src\config.jsx" %}

```javascript
...
...

// ==============================|| THEME CONFIG ||============================== //
const config = {
  fontFamily: `Inter var`,
  i18n: 'en',
 ...
};

export default config;
```

{% endcode %}
{% endtab %}
{% endtabs %}
