Languages
Mountale has one file per language in mods/HaporeLab_Mountale/lang/. The active one is picked with config.json ▸ Language.
Built-in Languages
| File | Language |
|---|---|
es-PY.json | Spanish (Paraguay) — default |
en-US.json | English (US) |
pt-BR.json | Portuguese (Brazil) |
To switch to English:
{
"Language": "en-US"
}
Then run /mountale reload.
Editing Texts
- Language files are extracted from the jar when they are missing, and you can edit them freely.
- If a file lacks keys (for example, after updating the plugin), they are filled in from the jar and the file is rewritten without touching your edits.
- If
Languagedoesn't match any file,en-USis used and the console lists the available languages.
Adding a Language
- Copy a file with a new name, for example
fr-FR.json. - Translate its values.
- Set
"Language": "fr-FR"and run/mountale reload.
Anything left untranslated falls back to English.
Placeholders
Some texts include values in braces:
| Placeholder | Value |
|---|---|
{mount} | Mount name |
{seconds} | Seconds (combat time left, combat duration) |
{count} | A number of mounts |
{percent} | Speed bonus of a mount |
{max} | Maximum number of favorites, or of scrolls given at once |
{player} | A player's name (admin commands) |
{amount} | A number of scrolls (/mountale give) |
{item} | A scroll's name (/mountale give) |
{list} | The ids of every mount (unknown mount in an admin command) |
Example (en-US.json):
{
"mount.mounted": "You mounted {mount}.",
"combat.enter": "In combat! You can't summon mounts for {seconds}s."
}
What Is Not in lang/
- Mount names and descriptions are written in each mount's file (see Mount Files), so they are the same in every language. The default mounts have them in English.
- Rarity names are translated:
rarity.common,rarity.uncommon,rarity.rare,rarity.legendary. To name a new rarity, add itsrarity.<id>key, or give it aDisplayNameinconfig.json. - Scroll names and descriptions come from
item.scroll.nameanditem.scroll.description, but they follow each player's game language, notLanguage: on every start, Mountale writes them into the game's item texts, one file per game language (es-EStakeses-PY.json). A change shows up after a restart (see Mount Scrolls).