# Translation and summaries

> Read customers' messages in English and reply in their own language, and get a short summary of every closed ticket, both written by AI.

AI can translate between your team and customers who write in other languages, and it writes a short summary of each ticket when it closes. Both need AI to be set up and running: see [Setting up AI](https://www.lagottolabs.ai/support/ai/setting-up-ai.md). Translation is also a capability that an administrator turns on.

## Translation

To switch it on, an administrator goes to **Settings → Capabilities** and presses **Turn on** on **Translation**. See [Turning capabilities on and off](https://www.lagottolabs.ai/support/integrations/capabilities.md).

### Reading a customer's message

Each new message from a customer is checked for its language shortly after it arrives. When it isn't English:

- The ticket shows the English translation first. **Translated from Spanish · Show original** opens what the customer actually wrote.
- A collapsed message's one-line preview is in English too.
- The customer's language appears on the **Customer** card on the ticket and on the customer's page.

Messages that arrived before translation was on, or while AI couldn't run, are not translated later.

### Replying in the customer's language

On a ticket whose customer writes in a language other than English:

1. Write your reply in English, as usual.
2. Press **Translate to Spanish** (or whichever language) under the reply box.
3. The box now holds the translation. Your signature stays as you wrote it.
4. Read it over. **Undo** brings back your English.
5. Press **Send**.

- The button is for replies only. Internal notes stay in English for your team.
- A reply can be up to 20,000 characters to translate in one go.
- If translating fails, the reason shows beside the button, such as "Write your reply first." Nothing is sent until you press **Send**.

### AI drafts in other languages

AI drafts are always written in the language the customer wrote in, whether or not translation is on. Under the draft, **Show in English** shows what it says. See [AI drafts](https://www.lagottolabs.ai/support/ai/ai-drafts.md).

## Summaries

When a ticket is closed, the AI writes a summary of up to four sentences: what the customer needed, the cause if one was found, and how it was resolved. It leaves out names and contact details.

- The summary appears in a **Summary** card in the right-hand column of the closed ticket.
- Later drafts read the summaries of earlier tickets, both similar ones and the customer's own, to see how those questions were resolved.
- Summaries are written whenever AI is running. There is no separate switch.
- Spam tickets are not summarized. A ticket closed while AI couldn't run gets no summary later.
- If a ticket is reopened and closed again, a new summary replaces the old one.

## What they cost

Each translation and each summary is a small AI run:

- **Translation**: one run for every message a customer sends while translation is on, including messages already in English, because each one is checked. Plus one each time someone presses **Translate to…**.
- **Summaries**: one run for every ticket closed.

On Lagotto's key these are paid from your [AI credits](https://www.lagottolabs.ai/support/billing/ai-credits.md) at the model's list price. On your own key, your AI provider bills you. Every run is listed, with its cost, under **Settings → AI → Usage**.
