3,000 MEMBERS SALE - 15% OFF everything

translation.lua

Every piece of text the script can show, in one file. Around 1,600 entries covering the gym menu, the Gym Creator, the business panel, the admin panel, the minigames, the notifications, the errors and the third-eye target labels.

Lua
Shared.Lang = {
    ['common_save'] = "Save",
    ['gym_dashboard'] = "Dashboard",
    ['notify_exercise_finished'] = "Exercise finished. Reps done: %{reps}",
    ...
}

The three rules

1

Translate the right side, never the left

['common_save'] is the key the code looks up. "Save" is what the player reads. Change the second one only.

2

Keep every %{placeholder} exactly as written

%{reps}, %{name}, %{count} and so on are filled in at runtime. You may move one inside the sentence, and you should, because word order changes between languages. You may not rename it, and you may not delete it.

Lua
-- Correct
['notify_exercise_finished'] = "Trening zakonczony. Powtorzenia: %{reps}",
 
-- Broken, the number will never appear
['notify_exercise_finished'] = "Trening zakonczony. Powtorzenia: %{powtorzenia}",
3

Do not delete keys

A key that is missing or misspelled shows up in game as the key itself, for example notify_exercise_finished printed raw in the middle of the interface. If you do not want a text, set it to an empty string rather than removing the line.


How the file is organized

The entries are grouped by section, in this order:

GroupPrefixWhat it covers
Shared labelscommon_Save, Cancel, Delete, Search and the rest of the words reused everywhere.
Minigamesminigame_, and one block per gameThe instructions and captions inside each rep minigame.
Notificationsnotify_The messages that pop up in the corner.
Errorserror_Everything a failed action can say back.
Target optionstarget_The third-eye labels: Exercise, Gym Menu, Locker, Cloakroom, Boss Menu.
Control hintshint_The on-screen key hints for the gizmo, prop removal, freecam and exercises.
Player gym panelgym_The whole gym menu.
Business panelbiz_The whole business panel.
Business admin paneladmin_The whole business admin panel.
Gym creatorcreator_The whole Gym Creator.

Finding what you want is easiest by searching for the English text rather than by scrolling to a section.


HTML in the values

A few entries deliberately contain HTML, and it is safe to keep:

  • <kbd>ENTER</kbd> renders as a key cap in the on-screen hints.
  • <br> breaks the line.
  • <b> and <strong style='color:#FDD140'> highlight a word inside a confirmation dialog.

Keep the tags balanced. If you are not comfortable with them, translate only the text between them and leave the tags where they are.


Special characters

The file ships as plain ASCII. Accented and non-Latin characters work, but the file has to be saved as UTF-8. Save it in the wrong encoding and the interface shows garbled text.

A % sign in a translated value is fine, the script escapes it for you. "+10% XP" renders exactly as written.

Translation changes need a resource restart. Nothing has to be rebuilt: the interface reads the file at startup.