Locales
By default, the locales for de_CH.UTF-8 UTF-8
and en_US.UTF-8 UTF-8
are generated.
Add Locales
If you want to adjust the list of generated locales, use the locale::locale
array within the Custom JSON Server Level Configuration.
The list will overwrite all existing locales, and in addition en_US.UTF-8 UTF-8
is always loaded as it used as system wide default.
The following example adds fr_CH.UTF-8 UTF-8
and it_IT.UTF-8 UTF-8
- and as it’s not explicitely in the list anymore de_CH.UTF-8 UTF-8
will be removed:
{
"locale::locale": [
"fr_CH.UTF-8 UTF-8",
"it_IT.UTF-8 UTF-8"
]
}
Tip
You can find a list of supported locales at /usr/share/i18n/SUPPORTED
.
Copy the entire line.
After update the locales you can check with
locale --all-locales
if your new locales are available.