Skip to content

Localization ​

All player-facing text is stored in locale files. Edit the right-hand side of each entry — do not change the keys (left side).

locale/locale.lua ​

In-game text shown to players (prompts, errors, dispatch messages, gizmo labels).

lua
Locale = {
    ['key'] = 'Your translated text here',
}

Interaction Prompts ​

KeyWhere It Appears
safe.press_to_openProximity prompt above a safe
safe.action_unlockTarget system label for safes
container.press_to_openProximity prompt above a container
container.action_unlockTarget system label for containers
crate.press_to_openProximity prompt above a crate
crate.action_openTarget system label for crates
loot.press_to_pickupPrompt above a loot drop prop
loot.action_pickupTarget system label for loot

Error Messages ​

KeyShown When
error.no_required_items_safePlayer lacks the required item for a safe
error.no_required_items_containerPlayer lacks the required item for a container
error.no_required_items_cratePlayer lacks the required item for a crate
error.not_enough_policePolice count below minimum. Supports %d for counts
error.inventory_fullPlayer's inventory is full
error.genericFallback error message

Dispatch Messages ​

KeyUsed For
dispatch.thieves_openedDefault dispatch alert message
dispatch.police_dispatchDispatch notification subtitle
dispatch.thievesBlip label on police maps
dispatch.alertFallback notification title

Format Variables ​

Some keys support %d placeholders (replaced with numbers at runtime). The LFormat helper handles this safely — removing the %d won't cause errors.


locale/ui.locale.lua ​

Text for the Vue.js NUI (minigame labels, buttons).

Crate Minigame ​

KeyDisplayed As
minigame.crate.headerHeader text
minigame.crate.instructionInstruction above the progress bar
minigame.crate.progress_labelProgress bar label
minigame.crate.keys_hintHint text at the bottom
minigame.cancelCancel button (shared across minigames)

Safe Minigame ​

KeyDisplayed As
minigame.safe.headerHeader text
minigame.safe.turn_leftLeft dial button label
minigame.safe.turn_rightRight dial button label
minigame.safe.tooltipFull instruction text

Container Minigame ​

KeyDisplayed As
minigame.container.headerHeader text
minigame.container.instructionInstruction line
minigame.container.cancelCancel button label

General UI ​

KeyUsed For
ui.successSuccess state label
ui.failedFailed state label
ui.loadingLoading spinner label
ui.closeClose button label

Robicore