mail sent from shell shows "norwegian" language!!

ka99

New member
Joined
Nov 14, 2025
Messages
13
Hi..

I'm getting all mail sent from the server "shell" shows as Norwegian language, and the Windows Mail client "em-client" shows "Norwegian language detected, Do you want to translate message now?"

I looked in DirectAdmin settings for the language, but it's English there!!

how can I fix that and have all mail in English?

TIA.
 
I'm getting all mail sent from the server "shell" shows as Norwegian language,
What do you mean by "server shell". Is that mail from root?
If yes then I'm wondering in which language the server was installed, probably Norwegian.

Changing it might depend on the distro installed.
Which linux distro are you using?
 
Hi Richard..

yes, mail from root, I checked the server's language, its "LANG=en_US.UTF-8"!

Thank you.
 
Hello.
Maybe check with this command if this shows another language.

localectl

If it shows something which is not en_US you can change it with the following commands, which you can do anyway.

Code:
localectl set-locale en_US.UTF-8
localectl set-keymap us-intl
localectl

Then things should have changed.

If you are in a Debian (or derative like Ubuntu) environment you could try the sudo dpkg-reconfigure locales command.

All commands mentioned need to be done as root goes without saying. ;)
 
currently, localectl:

System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: (unset)

I changed it as you suggested.. localectl:

System Locale: LANG=en_US.UTF-8
VC Keymap: us-intl
X11 Layout: us
X11 Model: microsoftpro
X11 Variant: intl
X11 Options: terminate:ctrl_alt_bksp


Thank you.
 
I checked the header, can't find anything related to lang there!!

Here is the header+body:

-------------------------
Delivered-To: [email protected]
Received: by 2002:a17:522:9206:b0:636:9bbf:2bdf with SMTP id c6csp10510670pvv;
Sat, 6 Dec 2025 03:42:20 -0800 (PST)
X-Forwarded-Encrypted: i=2;
AJvYcCWyT1ldY+4sy5xGspZIhMNKxLk6RHcHfvH/mkYuagTc/[email protected]
X-Google-Smtp-Source: AGHT+IFOQD/qqrPjnpXOtYuW9lkBTG9K0lBZ2pPTvkGNbI+cRbgWWH1T8VYtDw5Q+l9jbl0bAiDu
X-Received: by 2002:a17:907:9629:b0:b73:9892:7f46 with SMTP id
a640c23a62f3a-b79eeeaa229mr1028964366b.29.1765021340438; Sat, 06 Dec 2025
03:42:20 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1765021340; cv=none; d=google.com;
s=arc-20240605;
b=QW1LvcfvVNVuQKdYozANyMlW1Gvm7ESLRrIBHoKZfdWcYlXRu1ZI3yB5PqsDZiQzxp
spRTPUqHSiWDbDeapDtCiuLbxwqA+y1I20kXFMU44+usiBbNoD9BBO/HHzvKjgg2vecx
dO3p7eNsywOyQUqkyaDYphW5DvD/192r3Na+dWq0IB5r7uSnIRkYQkPkEldHeUbZQAYv
CnJEhDUYbASYLFpg/oxfbUvXVPQxl/JaoFDibwtFd4NPaSeVhKixlN4vFlgDg3QeGAFM
oPW2uIZWfS3BZCwS4sVZAZacsfSDsZuPJxTenusLZlvu5e4n5ydrxuy8v4Tz5aQHLCqR Gisw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605; h=from:message-id:user-agent:subject:to:date;
bh=HIFXzJ5Ml9BH0aytAlA7BYVpOPvddMOtkR3H4Z0Bldc=;
fh=QMo4Z84U8vqRvxOEAnu8afLwloTCfJLwRwOqjlEQaX8=;
b=fI/qk++lr0Wfb/3dLHzGCvdinGoiLUH5T5Sp7immD1yrFFFHkyczPxsah+gq3nHZAb
UDjUk0RMEYyDrOF87HOZ4p4h1O3CQnjfDPsN4XhMNPF6lW8Y3HXbi0AxcoC4NsBzZldl
4zVOp+o8hMU7PAaU9JbXRWSqcKTVNn5Xn28r7z1GN5DQ7JO4eu7tr4gEpFbcAqeY0gi/
horApIP+SKN8jIEYfU7fQ89EGqfi360FoPbxIHtwlARiYuT2KrwkwTJ7BXPZHbcyt/kO
pTzPHwIdNwHKuZtQ7UFHXecomfE3UN4ReeMbbzjFtAtsxDW0XFurB0ts2aDv0oUSbk6t rPrA==;
dara=google.com
ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain
of srs0=8af2=6m=host.xxx.net'=[email protected]' designates 1.2.3.4' as
permitted sender) smtp.mailfrom="SRS0=8af2=6m=host.xxx.net'=[email protected]'";
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=domain.net'
Return-Path: <SRS0=8af2=6m=host.xxx.net'=[email protected]'>
Received: from host.xxx.net' (host.xxx.net'. [1.2.3.4']) by mx.google.com with
ESMTPS id a640c23a62f3a-b79f4dlz794si620903766b.95.2025.12.06.03.42.20 for
<[email protected]> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384
bits=256/256); Sat, 06 Dec 2025 03:42:20 -0800 (PST)
Received-SPF: pass (google.com: domain of
srs0=8af2=6m=host.xxx.net'=[email protected]' designates 1.2.3.4' as permitted
sender) client-ip=1.2.3.4';
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
srs0=8af2=6m=host.xxx.net'=[email protected]' designates 1.2.3.4' as permitted
sender) smtp.mailfrom="SRS0=8af2=6m=host.xxx.net'=[email protected]'"; dmarc=pass
(p=NONE sp=NONE dis=NONE) header.from=domain.net'
Received: from root by host.xxx.net' with local (Exim 4.99) (envelope-from
<[email protected]'>) id 1vRqg7-000000001l2-2W6u for [email protected]'; Sat, 06 Dec
2025 14:42:19 +0300
Date: Sat, 06 Dec 2025 14:42:19 +0300
To: [email protected]'
Subject: testing
User-Agent: s-nail v14.9.22
Message-Id: <[email protected]'>
From: root <[email protected]'>
X-Authenticated-Id: root

testing

-------------------------
 
Back
Top