For the complete documentation index, see llms.txt. This page is also available as Markdown.

Translate Strings

All player-facing text (notifications, menus, prompts) lives in one locale file.

1

Copy the locale file

Copy rm_banktruckrobbery/locales/en.json to rm_banktruckrobbery/locales/<code>.json (e.g. de.json).

2

Translate the values

Translate the values. Keys stay as they are; %s placeholders must survive, and in the same order.

3

Set the locale

cfg.locale = 'de'

Missing keys fall back to showing the key name, so a partial translation still runs.

Item names

The locale file does not cover the four items. Those names come from your inventory, so rename them where you added them (ox_inventory/data/items.lua, your qb-core shared items, or the ESX database).

The labels in the NPC's shop menu are separate again, and live in data/prices.lua:

cfg.prices.buy = {
    ['WEAPON_DRILL'] = { label = 'Portable Drill', price = 5000, moneyType = 'cash' },
    ...
}