# Configure options

<details>

<summary>STYLE</summary>

[Refer to this page.](https://docs.itranslator.app/amazing-features/role-translation/configure-style-and-format)

</details>

<details>

<summary>FORMAT</summary>

[Refer to this page.](https://docs.itranslator.app/amazing-features/role-translation/configure-style-and-format)

</details>

<details>

<summary>SOURCE LANGUAGE</summary>

[Refer to this page.](https://docs.itranslator.app/amazing-features/automatic-translation/configure-languages)

</details>

<details>

<summary>TARGET LANGUAGES</summary>

[Refer to this page.](https://docs.itranslator.app/amazing-features/role-translation/configure-languages)

</details>

<details>

<summary>DELETE ORIGINAL (default: disabled)</summary>

This option exists for users that want original messages to be deleted.

The original message is the real message, not translated sent by a member. In some cases you will want this message to be deleted and only have the translated messages instead.

To configure this option, run the command `/translaterole config delete-original`.

</details>

<details>

<summary>IGNORE IF SOURCE IS NOT INPUT (default: disabled)</summary>

This option will only work if you set a source language to your config.

Sometimes, you will set a source language and some people will speak another one. The translator will still try to translate it but with the wrong source so it might create unexpected behavior.

Enabling this option will prompt the translator to detect the language of the messages sent by your users (which uses more characters). Subsequently, it will ensure that the detected language matches the source language before processing the translation if affirmative.

To configure this option, run the command `/translaterole config ignore-if-source-is-not-input`.

</details>

<details>

<summary>IGNORE IF SOURCE IS TARGET (default: disabled)</summary>

In some cases, you will be faced with translations that are identical to the original message sent by your members. This simply happens because the source language and the target language are the same.

If you **want** the translations to be sent **anyway**, even if the source and target languages are identical, **deactivate** this option.

If you **don't** want translations to be sent when the source and target languages are the same, **enable** this option.

To configure this option, run the command `/translaterole config ignore-if-source-is-target`.

</details>

<details>

<summary>ATTACHMENT MODE (default: ALWAYS)</summary>

There are 3 attachment modes: `ALWAYS`, `ONLY_WITH_TEXT`, `NEVER`.

**ALWAYS**: It will always send attachments (images, videos etc.) in the translations.

**ONLY\_WITH\_TEXT**: It will send attachments (images, videos etc.) only if they are sent with a message.

**NEVER**: It will never send attachments (images, videos etc.).

To configure this option, run the command `/translaterole config attachment-mode`.

</details>

<details>

<summary>AUTO-DISAPPEAR (default: 0)</summary>

Maybe you want the translations to disappear after a while? We got you.

The translations will be automatically deleted after the delay specified (in seconds).

Set the delay to 0 to disable this option.

To configure this option, run the command `/translaterole config auto-disappear`.

</details>

<details>

<summary>DISABLE-MENTION (default: disabled)</summary>

This feature is premium only as only the premium translation correctly parse the mentions.

Maybe you do not want the mentions to be parsed correctly so your users and yourself do not get spammed of mentions? We got you!

To configure this option, run the command `/translaterole config disable-mention`.

</details>

<details>

<summary>IGNORE-EMOJIS (default: disabled)</summary>

When enabled, this option will NOT translate the messages that only contains emoji(s) and nothing else.

To configure this option, run the command `/translaterole config ignore-emojis`.

</details>
