Skip to content

Localization

Matej Pacan edited this page Nov 12, 2020 · 12 revisions

Want to change messages like "Wait (x) seconds before chatting again" in antispam, in" /chc announce" and many, many more? Welcome to localization.

ChatControl speaks your language! We offer plenty of world's languages that will translate the vast majority of plugin's messages to your language, or to what you choose yourself.

Available Localizations

For up-to-date information about what languages we support, please see the Locale key in settings.yml.

Changing A Localization

By default, the localization is set to English (en). To change this, edit the Locale key in settings.yml file to one of the available localizations described in the comments above the key.

Localization file

Making Your Own Localization

Customizing any message is as simple as opening the localization/ folder and then editing the messages_X.yml file, where X represents the Locale key from settings.yml, such as messages_en.yml. Simply make direct changes to that file and you're good!

Before you edit your localization, check the Encoding article to prevent losing your messages.