Locales
Locales add new language translations to Overseer. Locales are simple Fluent syntax files that override the default Overseer English (en_US) language file.
Locales are not required to define every key, only keys defined will be overridden if a user chooses your customized language.
Creating a locale
You can create a locale by creating a definition in the plugin manifest.json file.
Example:
{
// [...]
"locales": [
{
"id": "pt_PT",
"label": "Portuguese",
"src": { "$ref": "locales/pt_PT/main.ftl" }
}
]
}Locale definition
A locale is defined by a main.ftl file (or really any .ftl file.)
Reference
Please reference https://overseer.studio/schemas/locale/en_US.ftl for a complete list of translations.
Fluent syntax
See the Fluent Syntax Guide for more information on how to configure and use Fluent translations.