Languages & translations
ScalaPlot ships with 7 languages already translated. The files are located in plugins/Plot/lang/ and are generated automatically on first startup.
Available languages
Section titled “Available languages”| Code | Language |
|---|---|
en_US |
English (default) |
it_IT |
Italian |
de_DE |
German |
fr_FR |
French |
es_ES |
Spanish |
ru_RU |
Russian |
pl_PL |
Polish |
Changing language
Section titled “Changing language”Edit the language value in config.yml:
language: en_USThen run /plot reload or restart the server.
Customizing messages
Section titled “Customizing messages”Each language file is a plain key/value .yml for every message (e.g. rename_success, info_no_plot, help_claim…). You can freely edit any message text: the configured prefix from config.yml will still be prepended automatically, and colors will be translated (both classic & codes and hex &#rrggbb).
# example from lang/en_US.ymlrename_success: "&aPlot renamed to {name}!"info_no_plot: "&cYou are not in any plot."Curly-brace variables (e.g. {name}, {player}, {flag}) are automatically replaced by the plugin: don’t remove them when customizing a message, or the dynamic information won’t be shown.