-
-
Notifications
You must be signed in to change notification settings - Fork 45
Translations
github-actions[bot] edited this page May 17, 2023
·
3 revisions
HuskTowns supports a number of community-sourced translations of the plugin locales into different languages. The default language is en-gb
(English). The messages-xx-xx.yml
file is formatted using MineDown.
You can change which preset language option to use by changing the top-level language
setting in the plugin config.yml file. You must change this to one of the supported language codes. You can view a list of the supported languages by looking at the locales source folder.
You can contribute locales by submitting a pull request with a yaml file containing translations of the default locales into your language. Here are a few pointers for doing this:
- Do not translate the locale keys themselves (e.g.
teleporting_offline_player
) - Your pull request should be for a file in the locales folder
- Do not translate the MineDown syntax itself or commands and their parameters; only the english interface text
- Each locale should be on one line, and the header should be removed.
- Use the correct ISO 639-1 locale code for your language and dialect
- If you are able to, you can add your name to the
AboutMenu
translators credits yourself, otherwise this can be done for you
Thank you for your interest in making HuskTowns more accessible around the world!
This documentation is available via william278.net |
---|
- 📚 Setup
- 📦 Legacy Migration
- 📁 Database
- ⛅ Redis Support
- 📄 Config Files
- 📝 Translations
- 🔌 Hooks
- 🖥️ Commands
- 🏙️ Towns
- 🏠 Claims
- 🔨 Roles
- 🌟 Advancements
- ☯️ Relations
- ⚔️ Wars
- 🚫 Inactive Town Pruning
- 📦 API v3
- 🧡 Towns API
- ⚙️ Claims API
- ❗ API Events
- 🕸️ API v1 (Legacy)