Language
One Setting For Everything
# config.yml
language: "en" # en, fr — every addon follows it
XCore reads lang/<code>.yml, and so does every addon: an addon has no language setting of its own, so switching to fr translates the core, the addons and the web dashboard in one edit. An addon 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 |
|---|---|
lang/<code>.yml | Everything said in game, /eco included — its keys are prefixed eco- |
lang/web_<code>.yml | The dashboard's shared vocabulary |
addons/<name>/lang/<code>.yml | That addon's messages |
addons/<name>/lang/web_<code>.yml | That addon's dashboard strings |
A message added by a new release is appended to your file on startup — your own wording is never overwritten.