Languages
The 10 bundled translations, how to switch them, and how to edit or add one.
zEvolutiveTools comes with 10 translations in the lang/ folder. They cover the world's most spoken languages. English is the source language.
If a line is missing from another language file, it falls back to English. So a partial translation never leaves a blank message.
Switch language
Set the language
Open config.yml and set language to the code you want, for example fr_fr.
Reload
Run /et reload.
Every message, menu, lore line, and title now appears in that language. Set it back to en_us and reload to return to English.
Bundled languages
| Code | Language |
|---|---|
en_us | English |
zh_cn | Simplified Chinese |
hi_in | Hindi |
es_es | Spanish |
fr_fr | French |
ar_sa | Arabic |
bn_bd | Bengali |
pt_br | Brazilian Portuguese |
ru_ru | Russian |
id_id | Indonesian |
Every bundled language is fully translated and kept in step with English, so menus, lore, and chat messages are complete in all ten.
Edit or add a language
Each lang/<code>.yml is a plain message file.
Change wording
Edit any line to change its text. Set a line to an empty string to hide that message.
Add a new language
Copy en_us.yml to a new code, translate the lines, then point language at it.
Name your enchants
Each language file has an enchant-names block that maps an enchant key to the name shown on the tool lore and in the enchants menu. Every vanilla enchant ships pre-named in all 10 languages, so an enchant you add to a tool shows a translated name out of the box.
enchant-names:
SHARPNESS: "Tranchant"
LOOTING: "Butin"
FIRE_ASPECT: "Aura de feu"To rename one, edit its line. To name a custom or modded enchant, add a line with its key. Names you edit or add stay through a reload. An enchant with no line here falls back to a Title Case of its key, so FIRE_ASPECT would show as "Fire Aspect".
The matching effect-names block names the built-in effects. Those ship fully translated, so you only edit it to reword an effect, not to add new ones.