[arch-general] cannot set locale (systemd)

Thanos Zygouris athanasios.zygouris at gmail.com
Fri Aug 31 05:48:41 EDT 2012


On Fri 31 Aug 11:39, Kazó Csaba wrote:
> 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

Thanks, it's working now. I gave the wiki a quick look, but this
information skipped my attention. Sorry for the noise and thanks again.


More information about the arch-general mailing list