Samuel's Development, Official Documentation
  • 🎉Welcome
  • 📑Overview
    • Resources
      • Bobcat Weapon Heist
        • Installation Guide
        • Configuration
      • Traphouse Robbery
        • Installation Guide
        • Configuration
      • Pacific Bank Heist
        • Installation Guide
        • Configuration
      • Oxy Run
        • Installation Guide
        • Configuration
      • Dumpster Diving
        • Installation Guide
        • Configuration
        • Log Configuration
      • Warehouse Heist
        • Installation Guide
        • Configuration
      • Oil Rig
        • Installation Guide
        • Configuration
      • Beekeeping
        • Installation Guide
        • Configuration
        • Log Configuration
      • Multijob & Boss Menu
        • Installation Guide
        • Exports
        • Configuration
        • Log Configuration
      • Yacht Robbery
        • Installation Guide
        • Configuration
      • Notify
        • Installation
        • Configuration
      • Cocaine Mission
        • Installation Guide
        • Configuration
      • Advanced Drug Sales
        • Installation Guide
        • Configuration
    • Library
      • Installation & Integration
      • Modules
        • Client
          • Callback
          • StartProgress
          • LoadAnim
          • LoadModel
          • LoadPtfxAsset
          • ShowNotification
          • SendEmail
          • PoliceDispatch
          • StartHack
        • Server
          • Callback
          • Name
          • Money
          • Logger
          • Inventory
          • HasGroup
          • GetPlayer
          • GetPlayers
          • GetPlayerByIdentifier
          • GetIdentifier
          • GetPlayerGender
          • CheckVersion
        • Shared
          • Array
          • Table
          • String
          • Math
          • Locale
            • JSON Example
          • AwaitLoad
          • Framework
  • 📚F.A.Q
    • How do I change Locales?!
    • How to add Police Alerts?!
    • What types of dirty money are supported?
Powered by GitBook
On this page
  1. Overview
  2. Library
  3. Modules
  4. Shared
  5. Locale

JSON Example

This is how a json file that contains locales can be structured.

{
  "error": {
    "canceled": "Canceled..",
    "no_c4": "You dont have C4!",
    "you_failed": "You failed!",
    "how_you_get_here": "How did you get here?",
    "missing_something": "You're missing Thermite.",
    "missing_something2": "You don't have the required Keycard.",
    "no_cops": "Not enough cops!",
    "recently_robbed": "This place has been robbed recently!",
    "cannot_use_here": "You cannot use this item here..",
    "timer_too_high": "The maximum length the timer can be:"
  },
  "success": {
    "planted_bomb": "Explosive has been planted! Get to safe a distance!"
  },
  "target": {
    "place_bomb": "Plant Explosives",
    "take_weapon": "Take Weapons",
    "take_ammo": "Take Ammo",
    "plant_thermite": "Plant Thermite",
    "swipe_card": "Swipe Card",
    "loot": "Loot"
  },
  "prints": {
    "cooldown_started": "BOBCAT: Cooldown started",
    "cooldown_finished": "BOBCAT: Cooldown finished"
  },
  "menu": {
    "submit_text": "Submit",
    "enter_timer": "Enter Timer (In Seconds):",
    "bomb_timer": "Bomb Timer",
    "seconds": "seconds"
  },
  "progress": {
    "looting_crate": "Looting Crate.."
  }
}
PreviousLocaleNextAwaitLoad

Last updated 1 year ago

📑