🤠
KOJA DOCS
  • Home
  • Store
  • Discord
  • lib
    • Client
  • NEW
    • 🚗Cardealer
      • Installation
      • Configuration
        • Creating a Cardealer
        • Changing Language
        • Creating a webhook for logging
    • 🎁Daily Rewards
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒOpen Commands
        • 🛒Shop Link
        • âœī¸Theme
        • đŸ–Ĩī¸Auto Table
        • 🎁Rewards
        • đŸŽŸī¸Missions
        • 📔Promocodes
      • Guides
        • âœˆī¸Creating/Editing Locales
        • đŸ”ĢManaging Missions
        • 💎Setting Premium Status
    • 📊Hud
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • đŸ›Ąī¸Debug Prints
        • đŸšĒSettings Command
        • đŸ—ēī¸Hide Minimap
        • đŸ—’ī¸Notifications
        • đŸŽī¸Nitro
        • âš™ī¸Engine
        • đŸ’ēSeatbelt
        • 🤖Cruisemode
      • Guides
        • âœˆī¸Creating/Editing Locales
        • 🔗Progressbar
        • â„šī¸TextUI
    • đŸ”ĢShop Heist
      • Installation
      • Configuration
        • đŸ‡ĩ🇱Changing Language
        • 👮Required Police To Start Heist
  • 🛒Shops
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • đŸ›ī¸Adding new shop
      • 🚗Server side exports
      • 📃SQL
    • Guides
      • âœˆī¸Creating/Editing Locales
  • 📜Dialogs
    • Installation
    • Configuration
      • đŸ‡ĩ🇱Changing Language
      • đŸŽ¯Target
      • 📃Create Dialog
      • 🎹Available Keys
      • 🌀Default Images
  • OLD
    • 🎓Jobselector [FREE]
      • 📕Step By Step Guide
      • âš™ī¸Server
    • đŸ› ī¸Crafting [FREE]
      • 📕Step By Step Guide
      • 👇Client
      • 👆Server
Powered by GitBook
On this page
  1. NEW
  2. Daily Rewards
  3. Guides

Creating/Editing Locales

A quick guide on editing locales to your likings!

To create your own language, start by making a JSON file inside the locales/ folder. The file name will be used in the configuration to set the language.

locales/en.json
{
  "ui": {
    "nextReward": "Until Next Reward:",
    "basic": "BASIC",
    "premium": "PREMIUM",
    "hidden_title": "Oh Oh !",
    "hidden_desc": "Seems like you dont have premium bought. You can purchase it <span id='buy'>here.</span>",
    "daily": "Daily",
    "weekly": "Weekly",
    "monthly": "Monthly",
    "premium_status": "Premium Status",
    "premium_enabled": "Enabled",
    "premium_disabled": "Disabled",
    "premium_input": "Enter Code...",
    "main_title": "REWARDS",
    "sec_title": "DAILY",
    "main_desc": "Welcome to your daily reward system! Earn exciting rewards by logging in and playing on the server. Stay active, complete missions, and unlock even more exclusive prizes every day!",
    "modal_title": "Are you sure?",
    "modal_desc": "You want to redeem your reward now.",
    "modal_confirm": "Confirm",
    "modal_cancel": "Cancel",
    "menu": {
      "title": "Admin Menu",
      "description": "Here you can manage promocodes",
      "generate": "Generate",
      "create_title": "Create",
      "create_description": "Create a new promocode.",
      "give_title": "Give",
      "give_description": "Give someone a promocode manually.",
      "day": "Day",
      "week": "Week",
      "month": "Month",
      "check": "Check"
    }
  },
  "game": {
    "notification": {
      "title": "Notification",
      "success": "Action completed successfully",
      "error": "An error occurred",
      "duration": 5000
    },
    "promocode": {
      "success": "The promo code has been successfully used!",
      "error": "The promo code is invalid or has already been used.",
      "noexistplayer": "The specified player is not on the server!",
      "successpremiumset": "Premium status has been successfully granted!",
      "withoutpremium": "The specified player does not have premium status!",
      "withpremium": "The specified player has premium status!",
      "nouses": "No number of uses provided!",
      "nodate": "No date provided!",
      "successgeneratecode": "Successfully created promo code: %code",
      "noPerms": "You do not have permission to open this menu!"
    },
    "rewards": {
      "claim": "Successfully claimed day %day"
    },
    "achievements": {
      "title_success": "Success!",
      "title_progress": "Progress!",
      "desc_success": "You have successfully completed the mission: {title}!",
      "desc_progress": "Mission '{title}' is in progress: {progress}/{needed}. Keep going!"
    }
  }
}
PreviousGuidesNextManaging Missions

Last updated 4 months ago

🎁
âœˆī¸