# Translate the plugin
WE NEED YOUR HELP
We need your help in translating all plugin messages to multiple languages! See this for more info!
# 1. Use one of MTV's offered languages
Apart from English (default), we and our community have already managed to add 6 other languages - Dutch, Czech, Spanish, German, Turkish and Chinese.
- Choose a language by clicking an item
- Done! The plugin has been translated!
All languages can be found as separate files in the
You may edit them, and after having it done, execute
/mtv reloadto apply changes.
# 2. Create your own language
This method is far more difficult, thus you should not do it unless you completely understand the following steps:
- Create your own
messages_xx.ymlfile in the
/plugins/MTVehicles/messages/folder. (E.g. by copying an existing message file and editing the messages)
Bear in mind, your final file must end with
.yml! (.txt or other files will NOT work!)
Do NOT change anything else. (Even the messagesVersion must remain the same. Only change the
- Reload the plugin by executing
This custom language WILL NOT appear in the
/mtv language command GUI. You may only set it inside
# ❗THIS METHOD IS DANGEROUS❗
- If you mess up anything, it may result in the plugin not being able to send messages properly.
- When you update, make sure that your
messages_xx.ymlfile contains ALL MESSAGES (= it has the same no. of rows as files created by us) because we may have added new ones.
# Do you want to contribute?🫂
Have you translated the plugin for yourself and do you want the translation to be publicly available to anyone? That's great!
Right now, you've got 2 options:
If you're familiar with how GitHub works, open a pull request (opens new window) where you'll add the new file.
All messages are stored in
src/main/resources/messages/(opens new window).
In case you don't understand Git, contact us at our Discord (opens new window) and send us your file there.
It may take a little longer if you submit your file via Discord, but it'll get here eventually.