Hi together,
Centos 7 uses localectl to manage the locales. But they are stored in
/etc/locale.conf. You can either set them manually in that file or use
localectl set-locale LANG=fr_FR.UTF-8 LC_COLLATE=fr_FR
to do that. Using localectl immediatly applies the change without the
need to restart the system. It seems that fr_FR.UTF-8 is not a valid
locale for LC_COLLATE, as indeed it is not accepted by localectl, fr_FR
is however.
Regards
Michael
Am 16.02.2015 um 11:22 schrieb Mehdi Maache:> Le 16/02/2015 07:18, Niki Kovacs a ?crit :
>> Le 15/02/2015 16:38, Michael Volz a ?crit :
>>> Hi,
>>>
>>> to my knowledge
>>>
>>> echo "LC_COLLATE=fr_FR.UTF-8" >> /etc/locale.conf
>>>
>>> is the right way to do that.
>>
>> Unfortunately that didn't work. Putting LC_COLLATE in
>> /etc/locale.conf does nothing.
>>
>> Now what?
>>
> Hi,
>
> I think in Centos 7, it's now localectl (systemd) is the way to do
that.
>
> Here is a link :
> http://www.freedesktop.org/software/systemd/man/localectl.html
>
> regards,
>
> MAACHE Mehdi
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos