Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Localization

kangarko edited this page Aug 30, 2017 · 14 revisions

ChatControl speaks your language! We offer plenty world's languages that will translate the vast majority of plugin's messages to your language. Localization controls messages like "Please do not repeat the same (or similar) message" or "Please wait X seconds before your next message" or "/chc announce" format and much more.

Available Localizations

  • English (en)
  • German (de)
  • Slovak (sk) + exclusive cases support (pády)
  • Czech (cz) + exclusive cases support (pády)
  • Spanish (es)
  • Chinese (cn)
  • Dutch (nl)
  • Hungarian (hu)
  • Portuguese (pt)
  • Italian (it)
  • Polish (pl)
  • Vietnamese (vi)

Changing a Localization

By default, the localization is set to English (en). To change your localization, open settings.yml file and set the localization code (found above in italics) to the Locale key.

Editing or Making Your Own Localization

You can create your own unique localization in few simple steps. If you make an unique localization, you are welcome to send it to me and receive credits!

To avoid data loss, you are encouraged to have your server shut down when manipulating with files.

1. Find what your current locale is

Navigate to your settings.yml file and find the value assigned to the Locale key. settings.yml

2. Make 'localization' folder

Go to your ChatControl/ directory within your plugins/ folder, and make a new localization/ folder. Make New Folder

3. Launch server

Start your server again. A new file will appear in the localization folder, filled with the localized messages, and the console will inform what exact messages were placed into the file. Launch Server

4. Done! Now you are ready to edit your localization.

You localization file should now be filled with all the default values. You may edit it to your likings. It will be updated with new keys as the plugin updates. The console will then inform you about the changes. Edit the File