Translations
banco automatically translates messages based on the user’s language preferences. Currently, it supports the following languages:
| Locale | Author | |
|---|---|---|
| Brazilian Portuguese | pt_BR | Redyiel |
| Catalan (Spain) | ca_ES | U8092 |
| English (United States) | en_US | U8092 |
| French (France) | fr_FR | Hiobi |
| German (Germany) | de_DE | Loapu |
| Russian (Russia) | ru_RU | deltathebuilder |
| Simplified Chinese | zh_CN | SnowCutieOwo |
| Spanish (Spain) | es_ES | U8092 |
| Ukrainian (Ukraine) | uk_UA | nokirae |
Overriding language keys
Starting with version 1.3, language keys can be overriden globally or per-language.
Override global language keys
You can use the global_overrides.properties file, which is generated automatically in plugins/banco/lang/ and contains every language key. To override a key, remove the leading # character.
Note
Please, consider contributing to our translation project by opening a pull request in our GitHub repository. You can also open a thread in #banco-support in our Discord.
Override specific language keys
To override specific language keys, you will need to create a file in plugins/banco/lang/ with the following naming format:
You can find the locale code in the table above.
There is an example en_US_overrides.properties file which will be generated automatically which you can use as a reference.
Example
#
# This file allows you to override the default language keys globally.
# To enable a key, remove the leading '#' character.
# Any line starting with '#' is treated as a comment and ignored.
#
# You only need to include the keys you want to override; all others will fall back to the defaults.
#
# If you'd like to contribute translations, please open a pull request in our GitHub repository.
#
banco.errors.not-enough-arguments=No hi ha suficientes arguments.
banco.errors.invalid-command=Comanda invàlida.
banco.errors.player-not-found=No s'ha pogut trobar a {0}.
banco.errors.invalid-value={0} no és un valor correcte.
banco.errors.not-enough-funds=No tens suficients diners a l'inventari.