Messages
Guide to the messages files
Last updated
Guide to the messages files
Last updated
This wiki is no longer maintained and is only for Aurelium Skills Beta versions. Visit the for AuraSkills 2.0+.
This guide is for using and translating Aurelium Skills messages. Almost all content is translatable, such as commands, menus, and chat.
The messages files can be found in the messages
folder. Each file corresponds to a different language. Players can select their own personal language using /skills lang [language]
.
You must define all the languages you want to use in config.yml under the "languages" list. This is a list of the two-letter Locale codes that match your file name.
To change the default language, change the "default-language" in config.yml
Do not change any messages placeholders! Placeholders are text wrapped in { and } (Ex: {placeholder})
Do not remove newlines (\n) in the "menus" section unless your menus.yml format requires it
Do not touch the file_version field
When naming your file, it must be in the format messages_[language].yml [language] must be a valid two-letter Java Locale code or a locale with country code such as messages_pt-BR.yml
Never use tabs! Use correctly aligned spaces instead.
If your message contains characters "&", "{", or "}", wrap the entire message in single quotes. (Ex: 'Message'). When in doubt, put it in single quotes.
Use newlines in descriptions for when the menu item doesn't fit or look good on the screen.
Unit placeholders can be used everywhere and are changed in the "units" section. To use units in messages, use "{mana_unit}", "{hp_unit}", "{xp_unit}", etc.
{value} placeholders do not include % symbols.
If you are creating a new translation, use the template here.
Be sure to reference messages_en.yml for the placeholders and format
This is a guide to creating an official translation to be added to the plugin publicly. Translations here must follow certain format guidelines and rules to be accepted. Any translation that does not follow all the guidelines will have to be revised by the author to be accepted.
It is highly recommended that you translate on Crowdin. It makes it much easier to edit, collaborate, upload, and download translations. All you have to do is create an account and you can translate! If you do not see your language on the list, please contact Archy in the Discord to add it. There are also options to upload existing files (so you don't have to start over) and to download translations (so you don't have to wait for a plugin update) when you click on the 3 dots next to the file in each language section.
Do not change or remove any color codes, keep the same color scheme as the default messages_en.yml
Do not change or remove any newlines (\n) in the menus section
Do not remove any placeholders that are in the default messages
Try to keep translations as accurate as possible. Translations should not affect the meaning of descriptions and names
Do not change stat symbols or colors
Do not remove any entries in the file; all entries in the default messages must exist in your translation.
Do not change action bar, level up title, or level up formats
Add newlines (\n) in ability, skill, and stat descriptions when you think it is too long. Use your best judgment and test (if possible). I will change newlines if necessary.
Use the most up to date file found on GitHub
Don't translate a language if the translation already exists; add to the existing file if it needs to be updated
Keep formats as much as possible, such as punctuation, colors, caps, etc. You may need to move around color codes to get the contexts/parameters to match.
The file must be named in the correct format with the correct language code (If it's wrong it's not a big deal I can fix it myself)