> For the complete documentation index, see [llms.txt](https://docs.itranslator.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itranslator.app/amazing-features/automatic-translation/configure-channels.md).

# Configure channels

Choose where iTranslator reads the messages and where it sends the translations.

A configuration reads the messages of its **source channels** and posts the translations in its **target channels**.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-d81a8df495aaf9c0f48e9ca53d39eb4d002eb286%2Fautotranslate10.gif?alt=media" alt="Selecting the channels of an Auto-Translate configuration"><figcaption></figcaption></figure>

{% hint style="info" %}
The free plan allows one source channel and one target channel per configuration. [**Premium**](https://docs.itranslator.app/overview/premium.md) removes that limit and lets you select whole categories.
{% endhint %}

## Source and target channels

{% tabs %}
{% tab title="Dashboard" %}
On the **Auto-Translation** page of the [dashboard](https://docs.itranslator.app/fundamentals/dashboard.md), click **Edit** on your configuration. Pick the channels in **Source channels** and **Target Channels**, then click **Save**.

Both menus show your channels grouped by category, with a search field. The channels already selected stay ticked, so you see the current setup at a glance.
{% endtab %}

{% tab title="Commands" %}
**Source channels:** run `/autotranslate config channel-source`.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-f3297a1560324678fabc42a859680121706c53c9%2Fimage%20(44).png?alt=media" alt="The /autotranslate config channel-source command"><figcaption></figcaption></figure>

Then select the channels in the menu. In this example the source channels are #general and #media.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-8b394b0ba6dd71db6540a04ad5cf2c491c457cc1%2Fimage%20(28).png?alt=media" alt="The channel selection menu in Discord"><figcaption></figcaption></figure>

**Target channels:** run `/autotranslate config channel-target` and select the channels the same way.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-9b59408836bbeedb97c34d075eed15db50ecd247%2Fimage%20(45).png?alt=media" alt="The /autotranslate config channel-target command"><figcaption></figcaption></figure>

{% hint style="info" %}
Because of a Discord limitation, the menu cannot open with your current channels already selected. Select them all again each time.
{% endhint %}
{% endtab %}
{% endtabs %}

## Using categories as channels <a href="#using-categories-as-channels" id="using-categories-as-channels"></a>

{% hint style="info" %}
This feature requires [**Premium**](https://docs.itranslator.app/overview/premium.md).
{% endhint %}

Instead of selecting channels one by one, you can select a **Discord category** as a source or as a target. Categories appear in the same menus as the channels, in the dashboard and in the commands.

### Category as a source

**Every message sent in any text channel of that category** is translated. It is ideal when a category has many channels, or when you often add new ones: nothing has to be updated.

### Category as a target

iTranslator uses **position-based routing**: it matches the channels of the two categories by their position.

* A message sent in the **1st channel** of the source category is translated into the **1st channel** of the target category.
* A message sent in the **2nd channel** of the source category is translated into the **2nd channel** of the target category.
* And so on.

This is perfect to mirror a whole category in another language:

| English category | French category |
| ---------------- | --------------- |
| #general-en      | #general-fr     |
| #support-en      | #support-fr     |
| #news-en         | #news-fr        |

Messages from #general-en are translated and sent to #general-fr, messages from #support-en go to #support-fr, etc.

{% hint style="warning" %}
Category-to-category routing only works with **exactly one target category**. You can have several source channels or categories, but with several target categories the routing does not apply.
{% endhint %}

{% hint style="info" %}
If the source and the target are the **same category**, each translation is sent in the same channel as the original message.
{% endhint %}

## Required permissions

iTranslator needs to read and write in every source and target channel. The list is on the [Automatic-Translation](https://docs.itranslator.app/amazing-features/automatic-translation.md#required-permissions) page.
