Translating the script

Every text the script shows lives in refuelingnozzlesv2/locale.lua — the world prompts, notifications, the pump touch screen, the fuel HUD and the tanker job. The file is open, so you can translate or reword anything.

Rules

  • Translate the text on the right of each = and leave the names on the left alone
  • #WORDS# like #PRICE#, #LITRES# and #AMOUNT# are filled in by the script — keep them (you can move them around)
  • ~g~ ~r~ ~w~ ~o~ ~y~ are GTA text colours — keep them where they are
  • [~g~E~w~] becomes a key chip in the prompts. Change the letter if you rebind InteractionKey or InteractionKey2
  • The Ui block (the pump screens and the HUD) and the HUD texts at the end of Job are plain text only — no colour codes

Target labels

With ox_target or qb-target the option labels come from the same strings, with the key hint and the colours stripped — Use Pump, Pickup Nozzle and so on.

Sharing a translation

locale.lua holds nothing else, so a translated file can be dropped into any other server running the script.

The short Starting up picture a pump screen can show on a slow load is an image, so it stays in English.
Get the scriptGet Refueling NozzlesFiveM Fuel Script →
Can't find what you need? Ask on Discord — response in under 5 hours.