Translating
Change every word the pool UI shows, without touching any code.
Every piece of text lives in one plain file:
config/locales/en.json1. Copy it#
Copy en.json to a new file named after your language, for example de.json, in the same folder.
2. Translate it#
Open it in any text editor:
{
"mode.eight": "8-ball",
"title.yourTurn": "Your turn",
"turn.theirs": "{name} is up"
}Change the text on the right of each colon — never the keys on the left, and never remove the quotes or the commas. Leave anything in {curly braces} as it is: {name} is up becomes {name} ist dran.
3. Switch to it#
In config/config.lua:
locale = 'de',Restart the resource: restart nobit_pool.