[arch-general] cannot set locale (systemd)

Kazó Csaba kazocsaba at gmail.com
Fri Aug 31 05:39:15 EDT 2012


2012/8/31 Thanos Zygouris <athanasios.zygouris at gmail.com>

> After upgrading systemd (189-3) and filesystem (2012.8-1) my locale
> isn't en_US.UTF-8 anymore. Instead, it defaults to C.
>
> # cat /etc/locale.conf:
> LOCALE=en_US.UTF-8
> LC_COLLATE=C
>
> # locale
> LANG=C
> LC_CTYPE="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_COLLATE=C
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_PAPER="C"
> LC_NAME="C"
> LC_ADDRESS="C"
> LC_TELEPHONE="C"
> LC_MEASUREMENT="C"
> LC_IDENTIFICATION="C"
> LC_ALL=
>
> I tried to run /etc/profile.d/locale.sh manually, but nothing changed.
> If i manually export LANG="en_US.UTF-8", it works, but i suspect it's
> not the "correct" way.
>
> So, is there a bug, or i am just missing something?
>


Hello,


LANG is the variable you should set in locale.conf. See
https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale


Csaba


More information about the arch-general mailing list