-
-
Notifications
You must be signed in to change notification settings - Fork 168
Localization
Aurora Lahtela edited this page Oct 7, 2023
·
12 revisions
This article will tell you how you can change the messages seen in the plugin.
In the config, there is a setting for Locale. Setting this to, for example FI, (Finnish) will attempt to use locale from inside the plugin jar. Inside the plugin there are multiple locale files.
- Set the locale to one you want to customize (FI will create locale.yml with the Finnish locale as base)
- Set
Logging.Create_new_locale_file_on_next_enable
totrue
and/plan reload
-
locale.yml
should appear in/plugins/Plan
- This file will be used for locale when present.
- (Optional) Set
Logging.Create_new_locale_file_on_next_enable
totrue
and/plan reload
- New lines will be added without modifying old ones
- Set
Logging.Log_untranslated_locale_keys
totrue
and/plan reload
- Keys with default values will be printed on the console.
If you want to help me out with localizing the plugin to your language, you can translate the locale file to your language and send the contents to me in one way:
- Do a pull request
- Open an issue
- Send me private message on spigot
- Discord Support