✈️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
{
    "game": {
        "notification": {
            "notify": "Market"
        },
        "shop": {
            "not_enough_money": "Not enough money",
            "not_enough_space": "Not enough space in inventory",
            "purchase_success": "Purchase successful",
            "purchase_failed": "Purchase failed",
            "purchase_failed_not_enough_money": "Not enough money",
            "purchase_failed_not_enough_space": "Not enough space in inventory",
            "invalid_shop": "Invalid shop.",
            "invalid_category": "Invalid category.",
            "invalid_item": "Invalid item.",
            "invalid_price": "Invalid price.",
            "item_category_mismatch": "Item does not belong to this category.",
            "shop_disabled": "This shop is currently disabled."
        }
    },
    "ui": {
        "sold": "Sold",
        "cash": "CASH",
        "card": "CARD",
        "exit": "EXIT",
        "bank": "BANK"
    }
}

Last updated