View previous topic :: View next topic |
Author |
Message |
Apopatos Guru
Joined: 17 Oct 2004 Posts: 512 Location: Hellas
|
Posted: Thu Aug 24, 2006 4:54 pm Post subject: Glibc and locales! |
|
|
I just built the newest glibc and got the message to remove the /etc/locales.build and to add my locales to /etc/locale.gen. So I did but now when I log in to gnome it says "el_GR language not found" and it uses the system's default one.
My /etc/locale.gen is
en_US/ISO-8859-1
en_US.UTF-8/UTF-8
el_GR/ISO-8859-7
el_GR.UTF-8/UTF-8
and in my /etc/profile I've added the line
export LANG="el_GR.UTF-8"
any ideas? |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Thu Aug 24, 2006 5:05 pm Post subject: |
|
|
Loose the forward slashes in the locale definitions and it should work. |
|
Back to top |
|
|
Apopatos Guru
Joined: 17 Oct 2004 Posts: 512 Location: Hellas
|
Posted: Thu Aug 24, 2006 5:23 pm Post subject: |
|
|
You mean to do my /etc/locale.gen as
en_US.UTF-8
el_GR.UTF-8
and to rebuild glibc? |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Thu Aug 24, 2006 5:25 pm Post subject: |
|
|
No, do it like this:
Code: | en_US.utf8 UTF-8
el_GR ISO-8859-7 |
(and yes, then rebuild glibc). |
|
Back to top |
|
|
Apopatos Guru
Joined: 17 Oct 2004 Posts: 512 Location: Hellas
|
Posted: Thu Aug 24, 2006 6:56 pm Post subject: |
|
|
Thanks a lot, it worked. Though I didn't rebuilt glibc but I run locale-gen instead |
|
Back to top |
|
|
|