Languages
The seven shipped languages, how a player's language is chosen, adding a language, and uxmLang.
Every player reads uxmAuth in their own language: the dialogs, the kicks, the replies and the mails. A player waiting at the dialog has not chosen yet, so they read their client's language.
Shipped
| File | Language | Small capitals |
|---|---|---|
messages_en.conf | English | yes |
messages_tr.conf | Turkish | yes |
messages_de.conf | German | yes |
messages_es.conf | Spanish | yes |
messages_fr.conf | French | yes |
messages_pt.conf | Portuguese | yes |
messages_ru.conf | Russian | no: Cyrillic has no small capitals |
Every file carries every key. A key a translation lacks reads in language.default, then in the line built into the
plugin.
Which language a player reads
The first that answers wins:
language.forcein config.conf, when it names a language: everybody reads it.- The language the player chose with
/uxmauth lang set. - The language their client is set to, when
language.follow-clientistrueand a file exists for it. language.default.
A broadcast reaches each player in their own language, so one [broadcast] line reaches the server in seven.
Adding a language
Copy messages_en.conf to messages_<tag>.conf, such as messages_it.conf or messages_pt-BR.conf, and translate
the values. Keep every key and every value tag such as <name>. Run /uxmauth reload: the language exists,
/uxmauth lang offers it, and a client set to it reads it. Nothing lists the languages; the files are the list.
To draw a Latin-alphabet language in small capitals, add it to small-caps in theme.conf.
Where a choice is kept
| Server | The choice lives in |
|---|---|
| With uxmLang | uxmLang, shared by every UXM plugin and, on a network sharing uxmLang's database, by every server |
| Without uxmLang | languages.conf in this plugin's folder, for this plugin alone |
Notes
- Command words per language are set in commands.conf.
- A language file that cannot be read is reported in the console at the start and on reload, and its players read the default.
Related: Messages, config.conf, Player commands
Was this page helpful?