# Chat with fans in another language

Read a fan's messages in your language and send yours in theirs, right in Messages, and choose which translator each creator uses.

URL: https://help.substy.ai/en/articles/set-up-chat-translation
Language: en

Chat translation lets a chatter talk to a fan who writes in another language. You read the fan's messages in your language, write in your language, and the fan gets your message in theirs. It works in two directions, each switched on per chat:

| Direction | Where you switch it on | What it does |
| --- | --- | --- |
| Reading | The **Translate** pill in the chat header | Shows the fan's messages in your language. |
| Writing | The **Translate** button in the composer, or **Alt+S** | Sends what you type in the fan's language. |

Anyone who can send messages can use translation in a chat. Which translator runs for a creator is set on the **Translation** page (see [Choose the translators for a creator](https://help.substy.ai/#choose-the-translators-for-a-creator)).

## Read a fan's messages in your language

1. In **Messages**, open the conversation. See [Navigate Messages](https://help.substy.ai/en/articles/navigate-messages).
2. In the chat header, turn on the switch next to **Translate** (**Translate the fan's messages**).
3. The first time, click **Translate** and pick your language under **Translate the fans into**. Use **Search languages** to find it quickly.

Once it is on, the pill shows the direction as language codes, for example **FR → EN**. The fan's messages show in your language:

- Hover a translated message to see where it came from, for example **Translated from French**.
- Click the translate icon next to a message (**Show original**) to see the fan's words under the translation. Click it again (**Hide original**) to hide them.

The language you pick is the same for every chat. The switch is per chat: turn it on in each conversation where you need it. Both are saved in your browser, so on another computer or browser you set them again.

## Write to a fan in their language

1. In the conversation, click the **Translate** button in the composer toolbar, or press **Alt+S**. The button turns blue and shows the fan's language code, for example **DE**.
2. Type your message in your own language.
3. Under your text, the **{language} translation** block shows what the fan will read. It updates as you type.
4. Check the translation, then click **Send translation**.

The fan receives only the translation, never your original text. If no translation is ready yet, the message is not sent.

To send your own words again, click **Translate** again or press **Alt+S**.

In the chat, a message you sent translated shows in your language. Hover it to see **Sent in {language}**, and use **Show sent** to see the exact text the fan received.

### When Substy does not know the fan's language

Substy detects the language of each conversation from its messages. If it does not know it yet, the translation block asks **Choose {fan}'s language**: click it and pick the language under **{fan} reads**. If Substy picked the wrong language, click **Change {fan}'s language** under the composer and pick the right one. Your choice applies to this chat only.

## Choose the translators for a creator

Each creator uses one translator for reading and one for writing. To see or change them:

1. In the sidebar, open **AI** and select **Translation** (or go to app.substy.ai/translation).
2. Pick the creator at the top of the left column.
3. Select **Reading** (the fans' messages, in your language) or **Writing** (your messages, in the fan's).
4. Click the card of the translator you want. The one in use has a check mark.

Every card shows a sample message as that translator writes it, how many style settings are on, and what it runs on.

| Section | Translators | Billing |
| --- | --- | --- |
| **Default** | Substy's own translator for the direction. | Billed to the agency wallet. |
| **Custom** | Translators your agency creates, with its own model and prompts. | Run on your agency's AI provider key, billed by the provider on your own account, not by Substy. |

To open the page you need the **View AI configuration** permission. To choose, edit or create a translator you need **Edit AI configuration**. See [Create and assign custom roles](https://help.substy.ai/en/articles/create-and-assign-custom-roles).

## Adjust how messages read

Substy's reading translator cannot be edited. Substy's writing translator can't take your own prompt, but you can set how its messages read:

1. On the **Translation** page, select **Writing**.
2. Click the pencil (**Edit**) on Substy's translator card.
3. Turn on the settings you want, then click **Save changes**.

| Group | Settings |
| --- | --- |
| **Writing style** | **Lowercase** (small letters only, the way people text), **Shorthands** (texting abbreviations of the fan's language), **No commas**, **No full stops** (numbers, links and ellipses keep theirs), **No emojis** |
| **Typos** | **Add typos** (small slips, so a message reads typed by hand), with the share of messages that get one, and the kinds: **Dropped letters**, **Stretched words**, **Doubled punctuation**, **Missed spaces** |
| **Post-processing** | **No full stop before an emoji**, **No dashes** (takes out the dashes models like to write) |

Reading translators only have **Post-processing**.

To try the result, write a message in the **Test** section, pick a language in **Translate into**, and click **Test**. If you just changed the settings, save first ("Save to test these settings").

## Create a custom translator

A custom translator runs on your agency's own AI provider key, which is connected in **AI Gateway**. See [Connect your agency's AI provider keys in AI Gateway](https://help.substy.ai/en/articles/connect-ai-gateway-keys).

1. On the **Translation** page, pick the creator and the direction.
2. Click **New translator**. If the key is not connected yet and your role can manage AI Gateway, Substy first asks you to connect it, then opens the new translator. If your role cannot manage AI Gateway, the button does not show: ask your agency owner to connect the key.
3. Fill in:
   - **Name**, for example "Flirty French".
   - **Model**: the model the translator uses.
   - **System prompt** and **User message**: your instructions. The user message must contain the variables `{sourceText}` (the message to translate) and `{targetLang}` (the language to write in). You can also use `{sourceLang}` and `{chatHistory}` (the latest messages of the chat).
4. Set the style settings if you want (see [Adjust how messages read](https://help.substy.ai/#adjust-how-messages-read)) and try it in **Test**.
5. Click **Create translator**, then click its card to use it for this creator.

To delete a custom translator, open it with the pencil and click **Delete**. Chats that use it go back to Substy's translator. This cannot be undone.

## If translation does not work

| You see | What to do |
| --- | --- |
| "Top up the agency wallet to use Substy translation" (in a **Translation unavailable** alert, or under your text when writing) | Substy's translators are billed to the agency wallet. Add funds, see [Manage wallet balance and low balance alerts](https://help.substy.ai/en/articles/manage-wallet-balance-and-low-balance-alerts). |
| A warning dot on the **Translate** pill, saying your translator runs on a key that is not connected | The creator uses a custom translator and your agency's AI provider key is no longer connected. Reconnect it in **AI Gateway**, or choose Substy's translator on the **Translation** page. |
| A custom translator card cannot be selected and asks you to connect your key | Same cause: it cannot be chosen until the key is connected in **AI Gateway**. |
| No translation shows under your text and **Send translation** waits | The translation failed or the fan's language is unknown. Read the line in the translation block, choose the fan's language if asked, or turn **Translate** off to send your own words. |
