---
title: i18n
---

This is where all the config goes for our i18n plugin for internationalisation. We also have our language file store here as js files.

Each language has a module.exports with all language translations inside this object.

## Configuration

We need to add the locales as an array of languages and specify the code, iso, name and file that contains the default exported javascript of the language translations.

```bash
# en.json
  {
    message: 'Hello',
    ...
  }
```

There are many options we can choose from and for all options please refer to the [vue-i18n plugin docs](https://www.npmjs.com/package/vue-i18n).

defaultLocale to be English

```js
  defaultLocale: 'en',
```

Seo to be false as this slows performance. However we then all to the head of the layout/page component a const i18nSeo to tackle this problem. This is more performant and is explianed in [vue-i18n plugin docs](https://www.npmjs.com/package/vue-i18n).



We have set the fallbackLocale to be English

```js
vueI18n: {
    fallbackLocale: 'en',
  },
```
