Onex
Onex
Home
Products
Documentation
Changelog
Login with FiveM
  • 👋 Welcome
  • Claim Purchase
  • Translations
    • Weaponmeta
    • Voice Interaction
    • Installation
      Api Reference
      Compatiblity
      Configuration
Artifacts Tracker
  1. Onex Scripts
  2. Scripts_guides / Translations
Ctrl K

Translation#

The main radial menu does not have a built-in locale system. Unlike other Onex Scripts resources, it does not use the standard olocale convar because the radial menu itself does not contain any translatable content — the center labels like ACTION and MAIN MENU shown below are purely cosmetic and configured directly in shared/config.lua via the actionLabel and menuLabel options.

main_menu_center_labelsconfig_reference

However, bridge/ qb-radialmenu and qbx_radialmenu do have full locale support. These are the original community radial menu scripts for QBCore and QBox frameworks that work as a bridge layer in this resource. Since they are not part of the core radial menu, they use their own framework-based locale convars instead of the standard OnexScripts locale system.

Supported Languages#

cs, da, de, en, es, et, fr, it, nl, pt, pt-br, sv, tr

You can easily add your own language if it's not in this list. Simply create a new translation file inside the appropriate bridge locale folder and set that filename as your locale convar.

bridge
qbx_radialmenu
locale
en.json
fr.json
de.json
your_language.json

Setting Your Locale#

Add the appropriate convar to your server.cfg before the resource starts. If the specified language is not found, it falls back to English (en).

setr locale "fr"

qbx_radialmenu uses setr because the convar needs to be replicated to the client. qb-radialmenu uses set since locale loading happens server-side.

Last updated 3 months ago

Quick Links

All DocumentationOur Products