Overview
This procedure configures the OK Locales and OK languages to allow only specified locales and languages. Messages that do not match the allowed languages are evaluated by the UNWANTED_LANGUAGE_BODY rule.
Configuring Allowed Locales
- Go to Warden > Settings > Antispam Settings
- Under OK locales, uncheck All, then select the locales you want to allow.
- Press Update to save the changes.
Configuring Allowed Languages
- Go to Warden > Settings > Plugin Settings > TextCat.
- Under OK languages, uncheck All, then select the languages you want to allow.
- Press Update to save the changes.
Rule Scoring
After this configuration, messages that are not in the OK languages list have the UNWANTED_LANGUAGE_BODY rule applied. By default, UNWANTED_LANGUAGE_BODY has a score of 2.8. To adjust the default score for the rule, go to Rules > Rule Scores.

Common Issues
- If allowed-language filtering is not working, confirm that All is unchecked under OK locales and OK languages and that Update was pressed.
- If the score assigned to messages is not expected, verify the UNWANTED_LANGUAGE_BODY score under Rules > Rule Scores.