You are not logged in.

#1 2012-01-10 15:04:18

jeremy33
Member
Registered: 2012-01-03
Posts: 11

[SOLVED] How to set locale in console (tty) ???

Hey,

I can't set locale in console (tty). I tried everythink I can and it always stay to english but I want it in french...

Edit : I think I found the problem wink
I installed arch from netinstall and I deleted locale.sh like asked. So locale.sh doesn't exist anymore, and this is the problem...
I have to reinstall initscript ($sudo pacman -S initscripts -f) and it recreate locale.sh.

This is my config :

I deleted the locale.sh

Content of /etc/locale.conf :

LANG=fr_FR.UTF-8
LANGUAGE=fr_FR.UTF-8

LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8

Content of /etc/rc.conf
(I had DAEMON_LOCALE=NO, but with recent install, new rc.conf was introduced with DAEMON_LOCALE set by default to YES. Is it ok ?)

KEYMAP="fr-pc"
CONSOLEFONT="lat9w-16"
CONSOLEMAP=""
LOCALE="fr_FR.UTF-8"
DAEMON_LOCALE="yes"

Output of locale

LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Output of locale -a

C
POSIX
fr_FR
fr_FR.iso88591
fr_FR.iso88591@euro
fr_FR.utf8
fr_FR@euro
français
french

I have read the wiki and searched in the forum without success, so what I can do ?

Last edited by jeremy33 (2012-01-11 14:28:26)

Offline

#2 2012-01-11 04:17:14

daedhel
Member
From: Québec, Canada
Registered: 2009-01-17
Posts: 40
Website

Re: [SOLVED] How to set locale in console (tty) ???

Might wanna add [FIXED] to the title.

Offline

Board footer

Powered by FluxBB