> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glood.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Translations

> Default bundle translations reference

# Default Bundle Translations

The translations object defines all user-facing text strings for bundle sections. Translations are organized by locale, with `en` (English) as the primary locale.

```json theme={null}
{
  "en": {
    "heading_text": "Frequently Bought Together",
    "subheading_text": "Customers who bought this item also bought",
    "bundle_price_text": "Bundle Price",
    "total_price_text": "Total Price",
    "you_save_text": "You Save",
    "add_bundle_to_cart": "Add Bundle to Cart",
    "adding_bundle_text": "Adding Bundle...",
    "added_bundle_text": "Bundle Added!",
    "select_all_text": "Select All",
    "deselect_all_text": "Deselect All",
    "this_item_text": "This Item",
    "plus_text": "+",
    "equals_text": "=",
    "bundle_discount_text": "Bundle Discount",
    "original_price_text": "Original Price",
    "remove_item_text": "Remove",
    "out_of_stock_text": "Out of Stock",
    "quantity_text": "Qty",
    "variant_text": "Variant",
    "customize_bundle_text": "Customize Your Bundle",
    "minimum_items_text": "Select at least {count} items",
    "maximum_items_text": "Maximum {count} items allowed",
    "productComponentTitle": "Bundle with {{count}} products",
    "bundleSectionTitle": "Bundle {{count}} items together",
    "discountLabelText": "{{percent}}% off",
    "bundleDiscount": "Save {{percent}}%"
  }
}
```

## Translation Keys

### Headings & Labels

| Key                     | Default Value                                | Description                   |
| ----------------------- | -------------------------------------------- | ----------------------------- |
| `heading_text`          | "Frequently Bought Together"                 | Main bundle section heading   |
| `subheading_text`       | "Customers who bought this item also bought" | Section subheading            |
| `this_item_text`        | "This Item"                                  | Label for the current product |
| `productComponentTitle` | "Bundle with \{\{count}} products"           | Component selector title      |
| `bundleSectionTitle`    | "Bundle \{\{count}} items together"          | Bundle layout title           |

### Pricing

| Key                    | Default Value         | Description             |
| ---------------------- | --------------------- | ----------------------- |
| `bundle_price_text`    | "Bundle Price"        | Bundle price label      |
| `total_price_text`     | "Total Price"         | Total price label       |
| `original_price_text`  | "Original Price"      | Original price label    |
| `you_save_text`        | "You Save"            | Savings label           |
| `bundle_discount_text` | "Bundle Discount"     | Discount label          |
| `discountLabelText`    | "\{\{percent}}% off"  | Discount badge text     |
| `bundleDiscount`       | "Save \{\{percent}}%" | Savings percentage text |

### Cart Actions

| Key                  | Default Value        | Description        |
| -------------------- | -------------------- | ------------------ |
| `add_bundle_to_cart` | "Add Bundle to Cart" | ATC button text    |
| `adding_bundle_text` | "Adding Bundle..."   | Loading state text |
| `added_bundle_text`  | "Bundle Added!"      | Success state text |

### Selection

| Key                     | Default Value           | Description             |
| ----------------------- | ----------------------- | ----------------------- |
| `select_all_text`       | "Select All"            | Select all products     |
| `deselect_all_text`     | "Deselect All"          | Deselect all products   |
| `remove_item_text`      | "Remove"                | Remove item from bundle |
| `customize_bundle_text` | "Customize Your Bundle" | Customization prompt    |

### Product Details

| Key                  | Default Value                    | Description            |
| -------------------- | -------------------------------- | ---------------------- |
| `out_of_stock_text`  | "Out of Stock"                   | OOS status text        |
| `quantity_text`      | "Qty"                            | Quantity label         |
| `variant_text`       | "Variant"                        | Variant selector label |
| `minimum_items_text` | "Select at least \{count} items" | Minimum items warning  |
| `maximum_items_text` | "Maximum \{count} items allowed" | Maximum items warning  |

### Symbols

| Key           | Default Value | Description                |
| ------------- | ------------- | -------------------------- |
| `plus_text`   | "+"           | Plus icon between products |
| `equals_text` | "="           | Equals icon before total   |

## Dynamic Placeholders

Some translation strings use placeholders that are replaced at render time:

* `{{count}}` — replaced with the number of products or components
* `{{percent}}` — replaced with the discount percentage
* `{count}` — replaced with min/max item counts
* `{{total_price}}` — replaced with the formatted total price

## Adding Custom Translations

To add translations for additional locales, add a new key to the translations object:

```json theme={null}
{
  "en": { ... },
  "fr": {
    "heading_text": "Fréquemment achetés ensemble",
    "add_bundle_to_cart": "Ajouter le lot au panier",
    ...
  }
}
```
