You are not logged in.

#1 2015-02-26 23:47:20

Shadow_Reaper13
Member
From: Westopolis
Registered: 2014-03-13
Posts: 40

[SOLVED] Locale doesn't work

Hello Archers, let's see if you can help me a little with this before I lose my head:

I have my system locale set as "es_AR.UTF-8" but the system still displays everything in english.
I tried everything but notyhing works.
I added this to .bashrc and to .xprofile:

export LC_ALL=es_AR.UTF-8
export LANG=es_AR.UTF-8
export LANGUAGE=es_AR.UTF-8

I also regenerated the locale with "sudo locale-gen" but didn't work either.

This is the output of "locale":

LANG=es_AR.UTF-8
LC_CTYPE="es_AR.UTF-8"
LC_NUMERIC="es_AR.UTF-8"
LC_TIME="es_AR.UTF-8"
LC_COLLATE="es_AR.UTF-8"
LC_MONETARY="es_AR.UTF-8"
LC_MESSAGES="es_AR.UTF-8"
LC_PAPER="es_AR.UTF-8"
LC_NAME="es_AR.UTF-8"
LC_ADDRESS="es_AR.UTF-8"
LC_TELEPHONE="es_AR.UTF-8"
LC_MEASUREMENT="es_AR.UTF-8"
LC_IDENTIFICATION="es_AR.UTF-8"
LC_ALL=es_AR.UTF-8

This is the output of "locale -a":

C
es_AR
es_AR.iso88591
es_AR.utf8
POSIX

And this is the output of "localectl":

System Locale: LANG=es_AR.UTF-8
       VC Keymap: es
      X11 Layout: n/a


I have no idea what else to do. I think it is important to note that my HDD has a few bad sectors which forced me to fsck my system partition several times, losing some files, which, with the help of pkgfile and pacman I recovered by reinstalling the pacakges which owned them. One of this packages was glibc which has something to do with locales. I reinstalled glibc twice but the problem with my locales is still there. I don't know what to do since everything says that the locale is properly configured, but it doesn't work at all.


Thanks in advance.

EDIT:

Looks like some locales were missing in /usr/share/locale. I just copied them from my Arch Linux netbook and everything's workin' fine right now.

Last edited by Shadow_Reaper13 (2015-02-27 00:17:12)

Offline

Board footer

Powered by FluxBB