Locale

🎮 nc-pausemenu | Discord Support

All UI text is stored in ui/dist/locale.json. Edit this file to translate the menu — no rebuild needed.

File Location

nc-pausemenu/
  ui/
    dist/
      locale.json    ← Edit this file

All Keys Reference

Key Default Description
menu.continue Continue Continue button
menu.map Map Map button
menu.settings Settings Settings button
menu.keybinds Keybinds Keybinds button
menu.keybindguide Key Guide Key Guide button
menu.news News News button
menu.changelog Changelog Changelog button
menu.support Support Support button
menu.disconnect Disconnect Disconnect button
menu.quit Quit Game Quit button
menu.playerlist Players Player list button
panels.newsTitle News News panel title
panels.changelogTitle Changelog Changelog panel title
panels.supportTitle Support Support panel title
panels.keybindTitle Keybinds Keybind panel title
panels.playerlistTitle Players Player list panel title
panels.supportDiscord Join Discord Discord join button
panels.rulesTitle Server Rules Rules section title
panels.faqTitle FAQ FAQ section title
panels.newsEmpty No news available. News empty state
panels.changelogEmpty No changelog entries. Changelog empty state
panels.keybindEmpty No keybinds configured. Keybind empty state
panels.playerlistEmpty No players online. Player list empty state
panels.playerlistSearch Search by name or ID... Search placeholder
panels.playerlistOnline online Online count label
confirm.disconnectMessage Are you sure you want to disconnect? Disconnect confirm
confirm.quitMessage Are you sure you want to quit the game? Quit confirm
confirm.yes Yes Confirm button
confirm.no No Cancel button

Example

The locale file uses nested JSON structure. Here's the default English locale:

{
  "menu": {
    "continue": "Continue",
    "map": "Map",
    "playerlist": "Players",
    "settings": "Settings",
    "keybinds": "Keybinds",
    "keybindguide": "Key Guide",
    "news": "News",
    "support": "Support",
    "changelog": "Changelog",
    "disconnect": "Disconnect",
    "quit": "Quit Game"
  },
  "playerbar": {
    "noGang": "No Gang",
    "unaffiliated": "Unaffiliated",
    "unemployed": "Unemployed",
    "employee": "Employee"
  },
  "panels": {
    "newsTitle": "News",
    "newsEmpty": "No news available.",
    "supportTitle": "Support",
    "supportDiscord": "Join Discord",
    "supportDescription": "Need help? Join our Discord server for support.",
    "rulesTitle": "Server Rules",
    "faqTitle": "FAQ",
    "changelogTitle": "Changelog",
    "changelogEmpty": "No changelog entries.",
    "keybindTitle": "Keybinds",
    "keybindEmpty": "No keybinds configured.",
    "keybindHover": "Hover over a highlighted key to see its action",
    "playerlistTitle": "Players",
    "playerlistEmpty": "No players online.",
    "playerlistSearch": "Search by name or ID...",
    "playerlistOnline": "online"
  },
  "confirm": {
    "yes": "Yes",
    "no": "No",
    "disconnectMessage": "Are you sure you want to disconnect?",
    "quitMessage": "Are you sure you want to quit the game?"
  }
}

Notes

  • Keys must match exactly — only change the values
  • If a key is missing, the key name is displayed as fallback
  • No build or restart needed — changes apply on next menu open
Last updated 1 month ago