locales/ folder. One file per language. Editing them needs no build, no Node, no npm: change a value, restart the resource.
These files stay open under asset escrow, exactly like the themes. Translating or rewording the pack is something you do yourself, on your own server.
Pick a language
Set it once inconfig.lua:
config.lua
Each is a file in
locales/ - locales/es.lua, locales/fr.lua, and so on. locales/en.lua is the complete source every other file is layered over.
Reword the English
You don’t have to translate anything to change wording. Openlocales/en.lua, edit the strings you want, restart:
locales/en.lua
Add a language
1
Copy the English file
Duplicate
locales/en.lua to locales/<id>.lua, e.g. locales/da.lua for Danish.2
Change the id on the assignment line
locales/da.lua
3
Translate the values
Translate only the strings inside the quotes. Leave anything you haven’t got to - it falls back to English.
4
Select it and restart
config.lua
restart awoken_minigames.The two sections
Each language file has two parts:
The game names are the export names written lower-case-first -
skillCheck, hexBreach, towerOfHanoi. Three sections aren’t games: common (the ESC hint), startScreen, and sequence (the stage banner).
locales/en.lua is generated from the source, so a re-generate overwrites it. If you are keeping reworded English, work in a copy under another language id (e.g. locales/mine.lua with AwokenMinigamesLocales['mine'] and language = 'mine') and it will never be touched.