Language
One Setting For Everything
# config.yml
language: "en" # en, fr — every plugin built on XCore follows it
XCore reads lang/<code>.yml, and so does every plugin and addon built on it unless its own config.yml sets a language key (left commented out by default, for the rare plugin that should speak something else), so switching to fr translates the core, the plugins and the web dashboard in one edit. A plugin that ships no translation for the chosen language falls back to English and says so once in the console.
Console output stays in English regardless — logs are for the operator and for issue reports, not for players.
| File | Contents |
|---|---|
plugins/XCore/lang/<code>.yml | Everything said in game, /eco included — its keys are prefixed eco- |
plugins/XCore/lang/web_<code>.yml | The dashboard's shared vocabulary |
plugins/<name>/lang/<code>.yml | That plugin's messages |
plugins/<name>/lang/web_<code>.yml | That plugin's dashboard strings |
An addon keeps its language files in plugins/XCore/addons/<name>/lang/.
A message added by a new release is appended to your file on startup — your own wording is never overwritten.