> For the complete documentation index, see [llms.txt](https://risenova-scripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://risenova-scripts.gitbook.io/docs/risenova-marketplace/locale.md).

# Locale

```json
"template": {
  "ui": {
    "badge": "PLAYER MARKETPLACE",
    "title": "RiseNova Marketplace",
    "page_buy": "BUY",
    "page_sell": "SELL",
    "page_history": "HISTORY",

    "no_items_available": "No items available",
    "no_items_available_to_sell": "No items available to sell",
    "no_purchase_history": "No purchase history",

    "seller": "Seller",
    "available": "Available",
    "price_each": "Price Each",
    "cash": "Cash",
    "bank": "Bank",
    "purchase_item": "Purchase Item",
    "price_per_item": "Price per item",
    "create_listing": "Create Listing",

    "purchased": "purchased",
    "from": "from",
    "payment": "Payment",
    "shop": "Shop"
  },

  "target": {
    "open_marketplace": "Open Marketplace"
  },

  "menu": {
    "buy_items": "Buy Items",
    "buy_items_description": "View items listed by players",

    "sell_items": "Sell Items",
    "sell_items_description": "List your items for sale",

    "purchase_history": "Purchase History",
    "purchase_history_description": "View recent marketplace purchases"
  },

  "notifications": {
    "title": "Marketplace",

    "invalid_listing_data": "Invalid listing data.",
    "invalid_listing_values": "Quantity and price must be higher than 0.",
    "not_enough_item": "You do not have enough of this item.",

    "item_listed": "You listed {quantity}x {item} for ${price} each.",

    "invalid_purchase_data": "Invalid purchase data.",
    "invalid_payment_method": "Invalid payment method.",
    "payment_method_disabled": "This payment method is disabled.",
    "item_no_longer_available": "This item is no longer available.",
    "not_enough_quantity": "Not enough quantity available.",
    "not_enough_money": "You do not have enough money.",
    "payment_failed": "Payment failed.",
    "inventory_full": "Inventory full or item could not be added.",

    "item_purchased": "You bought {quantity}x {item} for ${price}.",
    "item_sold": "Your listed item was sold. ${amount} added to your bank."
  }
}
```

1. Copy the "template" section
2. Rename "template" to your language code, for example "fr"
3. Translate only the text on the right side
4. Keep all keys exactly the same
5. Set Config.Locale = "fr"

<mark style="color:$danger;">IMPORTANT WARNING</mark>

Do not change:

```
{quantity}
{item}
{price}
{amount}
```

Those are dynamic placeholders used by the script. They can move them around in the sentence, but they should **not rename or remove them**.

For example this is fine:

```json
"item_purchased": "Vous avez acheté {quantity}x {item} pour ${price}."
```

But this would break:

<pre class="language-json"><code class="lang-json"><strong>"item_purchased": "Vous avez acheté {qty}x {product} pour ${cost}."
</strong></code></pre>
