lang/, not in config.yml. HotPotato ships with English (en.yml) and French (fr.yml). You can edit either, or add your own.
Pick a language
Set the language inconfig.yml:
lang/<language>.yml. To use French, set language: fr.
- English (en.yml)
- French (fr.yml)
Edit messages
Open the language file for your chosen language and change the text. Colors use legacy& codes and hex &#RRGGBB.
{prefix}and other{placeholders}in a line are filled in by the plugin. Keep them where you need them.- Lines that are lists, such as the help page, can have lines added or removed.
The
lang-version key at the top is managed for you. Do not edit it. It lets the plugin merge new messages in when you update.Add a new language
Copy a file
Copylang/en.yml to a new file, for example lang/de.yml.Translate it
Translate the values, keeping the keys and any{placeholders} exactly as they are.Select it
Setlanguage: de in config.yml.Reload
Run/hotpotato reload to load your changes.External placeholders in messages
If PlaceholderAPI is installed andplaceholderapi.parse-in-lang is on, you can use any %external% placeholder from another plugin inside your messages, alongside HotPotato’s own.