🧩 Add-ons › 🈯 Language filter
What the filter does #
The filter keeps out people who write in a script your chat does not use: for example, Arabic or hieroglyphs in a Russian-speaking group. It looks at the script (the alphabet), not at a specific language: Russian, Ukrainian and Kazakh are all Cyrillic, English, Spanish and Uzbek in Latin letters are all Latin.
To turn it on: /config → 🧩 Add-ons → 🈯 Language filter, press Off so that it becomes On, and select at least one script below. While no script is selected the filter does nothing, even when it is on.
Forbidden scripts #
Mark the scripts that are not welcome in the chat. You can choose several:
- Slavic (Cyrillic) — Russian, Ukrainian, Belarusian, Bulgarian, Serbian, Kazakh and other Cyrillic alphabets;
- Latin — English and most European languages, as well as Turkish, Uzbek, Indonesian and others written in Latin letters, including letters with accents;
- Hieroglyphs — Chinese characters, Japanese kana and Korean hangul;
- Arabic script — Arabic, Persian, Urdu and other languages written in it.
A text counts as written in a script when at least 60 % of its letters belong to it and there are at least 3 such letters (for hieroglyphs, 2: one character is often a whole word). Links, @mentions, digits and emoji are not counted, so a Russian message with an English link stays Russian. A mix without a clear majority is not punished.
What to check #
- Text — the text of a message or the caption of a photo or video. The message is deleted, and the author gets the chosen action. Edited messages are not re-checked. On by default.
- Name — the first and last name of the person: checked when they join the chat or send a join request. This catches spam accounts with names in a foreign script before they write anything. On by default.
- Profile — the profile description (bio). It is checked together with the profile check of a new member. Off by default: people often write their bio in another language, so turn it on only if spam in your chat comes with such profiles.
Action #
- 🗑 Delete — only the message is deleted, the person stays in the chat. The mildest option, set by default. If the forbidden script is in the name or profile, the person's messages are deleted (for a profile, for a day after the check).
- 🔇 Mute — the message is deleted and the person can no longer write, until an admin lifts the mute.
- ⏱ Ban (1 hour) — the person is removed from the chat and can return in an hour. Suits a public chat: a mistakenly caught person loses nothing.
- ⛔ Ban — permanent ban in this chat. It is a ban only in your chat, not a global one.
If the Punishment option is set to mute, bans are replaced with a mute, as for the other options. Every action is recorded in the chat Logs with the reason «Language filter».
Who is not checked #
The filter does not touch chat admins, people from the whitelist (/wl), messages on behalf of a channel or an anonymous admin, and service messages. If a regular member of your chat writes in another language from time to time, add them to the whitelist.
Finer settings #
The filter works by script and for the whole chat. If you need a specific language (say, Ukrainian but not Russian), only some forum topics, a warning instead of a punishment or your own reply text, use a trigger with the «Message language» condition: /config → 🛠 Tools → Triggers.