✈️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!"
    }
  }
}

Last updated