BitAspire Wiki
XenoTokensXenoTokens

lang.yml

Shared and per-currency language output used by XenoTokens.

XenoTokens uses two language layers:

  • global lang.yml
  • per-currency currencies/<id>/lang.yml

Global file

The root lang.yml controls:

  • generic validation messages
  • command usage lines
  • shared shop messages
  • fallback placeholder labels such as none and 0

Per-currency overrides

currencies/<id>/lang.yml can override or refine messages for one currency context. That is useful when:

  • one currency should have a different prefix
  • the currency name should appear differently in messages
  • placeholder type labels should vary per currency

The bundled main currency example shows how lightweight those overrides can be.

Last updated on

On this page