1
0
Fork 0
freesewing/markdown/dev/reference/settings/locale/en.md

17 lines
357 B
Markdown
Raw Normal View History

---
title: locale
---
A 2-letter language code that indicates what language the user wants.
This will be used to set the `xml:lang` attribute in the `svg` tag when rendering to SVG,
and by [the i18n plugin](/reference/plugins/i18n/) to translate the pattern.
```js
import brian from "@freesewing/brian";
let pattern = new brian({
locale: "es"
})
```