BetterShield
Appearance

Alerts in each person's language

2 min read

Alerts and weekly summaries arrive in each recipient's own language: their account language, or the site language for any other address.

The result shows under BetterShield › Settings › Email alerts › When alerts are sent, and to whom › Where alerts go, after Send a Test Alert.

Where alerts go row listing each address and the language its alerts are written in after a test.
After a test, the screen lists each address with the language its alerts use.

What it does

BetterShield writes each alert and weekly summary in the language its reader uses:

  • An address that belongs to a user on this site gets mail in that user’s language.
  • Any other address gets mail in the site’s language.

Each language is written once, then sent to the addresses that read it, so a team can have several languages at once. If one language’s send is refused, the others are still tried. The subject, the body and the footer follow the reader’s language, and what a summary lists, such as a finding’s title, is worded in it too.

This covers alerts, the weekly summary and the test alert. A language reads translated only where BetterShield has a translation for it. See Review the language used by BetterShield.

Set it up

  1. Each person chooses their language on their own WordPress profile.
  2. Use the same email address for the alert list as for their account.
  3. Select Send a Test Alert. Under Each address gets alerts in:, read each line, such as “name@example.com: German”.
AddressLanguage usedDefault
Belongs to a user hereThat user’s languageAutomatic
Belongs to nobody hereThe site languageAutomatic

Our advice is to name the address of the person’s own account when they read another language. A shared inbox that is not an account reads the site language.

What it can break and how to undo

There is nothing to switch on or off. To change a language, change the user’s language on their profile, or the site language under Settings › General. The site language also affects WordPress and other plugins.

Check it is working

The test lists every address with its language. Compare one received alert with that line.

On multisite

An address that belongs to a user is written in that user’s language. Other addresses use the language of the site the alert comes from.

Close the open doors today

Install the free plugin. The first audit runs when you activate it, and all but one of the fixes wait for your choice.

Requires WordPress 6.7 or newer and PHP 8.0 or newer.

Get BetterShield