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

# Languages of a template

> How to translate a template to English, Portuguese, French and Italian, why Spanish is required and what happens when a language is missing.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/notification/catalog/{event}/channels/{channel}`, **Texts** card |
| Menu | Notifications › Catalog › **Event catalog** › an event › **Channels** tab › a channel |
| Role | Notification Admin, Editor and Marketing |
| Permission | `notification-template:edit` |
| Feature flag | None |
| Last verified | 2026-11-20 against `develop` (`aed8bd19b`) |

## What it is for

Each customer gets the notification in their language: Spanish, English, Portuguese, French or Italian. The
editor's **Texts** card has one tab per language. Only texts are translated (subject, title, body, buttons); the rest
of the template is shared by all languages.

## How to get there

* Open the template from its event's **Channels** tab ([Template editor](https://docs.bbrands.io/enterprise/notifications/templates/editor.md))
  and look for the **Texts** card.

## What you see

![Texts card with the tabs ES, EN, PT, FR · and IT ·; the selected FR tab shows the notice No text in this language yet: sends fall back to Spanish and are flagged, and the body, buttons and subtitle fields empty.](https://mintcdn.com/bbrands/QwypFRCeLjQDiuVS/images/enterprise-notifications-screens/templates/language-fallback.en.desktop.webp?fit=max\&auto=format\&n=QwypFRCeLjQDiuVS\&q=85\&s=7ac0dd1baa49c12dc63edf7c9dbb552c)

The FR tab without text: French sends use Spanish.

| # | Element | What it does |
| - | - | - |
| 1 | **ES**, **EN**, **PT**, **FR**, **IT** tabs | One language each; those with a dot (for example **FR ·**) have no text yet |
| 2 | Notice on ES | "Spanish is mandatory: every other language falls back to it." |
| 3 | Notice on a language without text | "No text in this language yet: sends fall back to Spanish and are flagged." |
| 4 | Text fields | The channel's: subject, preview and body in email; title, subtitle, body and buttons in push |
| 5 | "Unknown variables: …" | Shown if a text uses a variable the event does not have |

## Step by step

### Add a translation

**1. Finish Spanish first**

Leave the final text in **ES**. It is the one used when another language is missing.

**2. Open the language tab**

For example **EN**. If it is empty you see the notice that Spanish is used today.

**3. Write the texts**

Fill the same fields as in Spanish, with the same variables (`{{couponName}}`). The preview switches to the tab's
language.

**4. Save and review**

**Save draft** validates each language on its own. If one fails you see "Fix the fields marked in: EN".

## Business rules

| ID | Rule |
| - | - |
| R-01 | You cannot publish without a Spanish text |
| R-02 | A language without a text uses Spanish; the send is flagged as "fallback language" in Traceability |
| R-03 | A translation only changes texts; base fields (action, app, sender) are shared and a translation cannot change them |
| R-04 | Each customer's language is their account's; without one, Spanish is used |
| R-05 | Variables are the same in every language |

## States and messages

| State | What you see | Why | What to do |
| - | - | - | - |
| Language without text | Tab with a dot and the fallback notice | No translation | Translate if there are customers in that language |
| Spanish missing | **Spanish text is required**: "Fill the Spanish text before publishing." | You tried to publish without ES | Fill ES |
| Error in a language | Fields marked on that tab | The text breaks the contract (length, required field) | Fix and save |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| **Draft saved with errors** | A language did not pass validation | — (it is saved anyway) | Fix the marked fields |
| **Validation error** | A translation tried to change a base field | 422 | Change that field under **Base fields**, not in the language |

## Why it works this way

Spanish is the fallback language because every customer understands it and it always exists. That way no
notification is left without a text, even when a translation is missing, and Traceability shows how many sends went
out with the fallback so you can decide what to translate.

## Technical detail

| Aspect | Detail |
| - | - |
| Screen | `notification-template-editor-screen.tsx` (Texts card) |
| Languages | `es`, `en`, `pt`, `fr`, `it` |
| Validation | Each language is validated with the channel contract on save, publish and send |
| Fallback | The send stores `locale_fallback` when it used Spanish |

## FAQ and support cases

> [accordion] A Brazilian customer got the email in Spanish
>
> The template has no Portuguese text or the customer's account has no language. Check the template and the
> account's language.

> [accordion] Can I change the button only in English?
>
> The button text yes (it is a text); where the button leads no (it is a base field, shared by every language).

## Related and history

* [Template editor](https://docs.bbrands.io/enterprise/notifications/templates/editor.md)
* [Variables](https://docs.bbrands.io/enterprise/notifications/templates/variables.md)

| Date | Change |
| - | - |
| 2026-11-11 | First version |
| 2026-11-20 | Reached from the event's channels; the template list was retired (T-42) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.