Texts & Badges Translation
Every single text string in the buy box is configurable in WooCommerce → Discount Rules Box → Texts & Badges. Every field stays 100% customizable after applying a preset.
1-Click Quick Language Presets
Pick your store language and every text, badge, button and cart field is instantly filled with a high-converting translation. The plugin ships 13 language presets:
| Code | Language |
|---|---|
| en | English (Global) 🇬🇧 |
| es | Español (Spanish) 🇪🇸 |
| de | Deutsch (German) 🇩🇪 |
| fr | Français (French) 🇫🇷 |
| it | Italiano (Italian) 🇮🇹 |
| pt | Português (Portuguese / Brazil) 🇧🇷 |
| ru | Русский (Russian) 🇷🇺 |
| hi | हिन्दी (Hindi / India) 🇮🇳 |
| nl | Nederlands (Dutch) 🇳🇱 |
| pl | Polski (Polish) 🇵🇱 |
| ro | Română (Romanian) 🇷🇴 |
| hu | Magyar (Hungarian) 🇭🇺 |
| sr | Srpski / Hrvatski / Bosanski 🇷🇸 |
Configurable Text Groups
Package Titles & Notes
- Tier titles — e.g. "1 piece", "2 pieces", "3 pieces".
- Tier notes/subtitles — e.g. "Second item − {d2} · {save}". Placeholders supported.
Trust Badges Below the Button
One trust badge line per row, each rendered with a checkmark icon below the CTA (guarantee, shipping, cash on delivery…).
Buttons & Labels
- CTA buttons for the 1, 2 and 3-piece tiers.
- "Best Value" badge text.
- "In stock" / urgency badge (e.g. "Only 7 left in stock").
- Word for "savings".
- Free shipping text, free shipping prefix, free shipping badge.
- "Per unit" label, word for "total", pack total sentence.
- Pack label in Cart & Checkout (e.g. "Pack of {qty} pieces").
Default English strings (source reference)
All strings are stored under the drbu_strings key and remain fully editable after a preset is applied:
| String key | Default (English) |
|---|---|
best_label | Most Popular |
in_stock_label | In stock |
per_unit_label | per unit |
total_label | total |
pack_total_label | for {qty} pieces · total |
savings_label | savings |
ship_free_text | Free shipping included in this pack |
ship_paid_prefix | Free shipping for orders over |
free_ship_flag | Free shipping |
cta1 / cta2 / cta3 | Order 1 / 2 / 3 pieces — {price} |
cart_pack_label | Pack of {qty} pieces |
footer_badges | Shipping 1–3 days · Cash on delivery · Money-back guarantee (one per line) |
Tier titles & notes
Each tier keeps its own title and note in the drbu_tiers array. Defaults: "1 piece — Basic packaging", "2 pieces — Second item − {d2} · {save}", "3 pieces — Third item − {d3} · {save}".
Full Plugin Translation (.pot)
A .pot file is included in languages/ for complete plugin translation (admin UI, activation notices, defaults). Translate it into your language and place the result as discount-rules-box-upsell-{locale}.po / .mo in /wp-content/languages/plugins/.