@cerner/terra-toolkit-docs
Version:
Contains documentation for packages in the terra-toolkit monorepo
42 lines (31 loc) • 553 B
text/mdx
import { Badge } from '@cerner/webpack-config-terra/package.json?dev-site-package';
<Badge />
# terra-i18n.config.js
The terra-i18n.config.js is used to define the locales for a terra-application.
```js
module.exports = {
locales: ['en', 'en-US'],
};
```
## Options
### locale (Optional)
The `scoped` option accepts an array of locales to include in the application.
## Supported Locales
Terra supports the following locales:
* en
* en-AU
* en-CA
* en-US
* en-GB
* es
* es-US
* es-ES
* de
* fr
* fr-FR
* nl
* nl-BE
* pt
* pt-BR
* sv
* sv-SE