You are not logged in.

#1 2025-07-11 11:00:15

hackcr1258
Member
Registered: 2025-07-11
Posts: 2

[SOLVED] Could not set locale for LC_ALL

Hello, I could not set my locale for LC_ALL or LC_MESSAGES. Here are some stuff that I tried.

export LC_ALL="en_US.UTF8"

The command above only worked for one terminal session.

I tried editing /etc/locale.conf but it does not work.
I also tried /etc/default/locale but that also did not work.

Here's my locale -a and other terminal outputs.

[hackcr@DESKTOP-hackcr ~]$ locale -a
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
C.utf8
POSIX
en_US.utf8
ja_JP.utf8
zh_CN.utf8
zh_HK.utf8
[hackcr@DESKTOP-hackcr ~]$ locale
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en-US.UTF-8
LC_CTYPE=C.UTF-8
LC_NUMERIC="en-US.UTF-8"
LC_TIME="en-US.UTF-8"
LC_COLLATE="en-US.UTF-8"
LC_MONETARY="en-US.UTF-8"
LC_MESSAGES="en-US.UTF-8"
LC_PAPER="en-US.UTF-8"
LC_NAME="en-US.UTF-8"
LC_ADDRESS="en-US.UTF-8"
LC_TELEPHONE="en-US.UTF-8"
LC_MEASUREMENT="en-US.UTF-8"
LC_IDENTIFICATION="en-US.UTF-8"
LC_ALL=

Thanks in advance.

Last edited by hackcr1258 (2025-07-11 11:11:15)

Offline

#2 2025-07-11 11:06:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,272

Re: [SOLVED] Could not set locale for LC_ALL

Check your locale.conf, it's en_US, not en-US.

Offline

#3 2025-07-11 11:11:32

hackcr1258
Member
Registered: 2025-07-11
Posts: 2

Re: [SOLVED] Could not set locale for LC_ALL

Thank you so much.

Offline

Board footer

Powered by FluxBB