Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome 3 locales
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
UX.MAN
n00b
n00b


Joined: 09 Mar 2013
Posts: 72

PostPosted: Mon Apr 20, 2015 9:45 pm    Post subject: Gnome 3 locales Reply with quote

Hello everyone,

I'm going nuts with the locale settings under systemd. I need to set my native language to es_AR.utf8, the console keyboard layout to la-latin1 and the xkeyboard layout to latam; in order to do so, I have done the following:

Code:
# localectl set-locale es_AR.utf8
# localectl set-keymap la-latim1
# localectl set-x11-keymap latam
# localectl status
   System Locale: LANG=es_AR.utf8
       VC Keymap: la-latin1
      X11 Layout: latam


Everything looks good up to here, but when I start Gnome 3 and go to gnome-control-center -> Region & languague, I see the default language and formats set to English United States...
So, where is Gnome taking this configs from? why is it not setting the locales I have previously declared?
Also, I see there are 2 different keymaps, the latam and us...
Back to top
View user's profile Send private message
russK
l33t
l33t


Joined: 27 Jun 2006
Posts: 618

PostPosted: Tue Apr 21, 2015 12:33 am    Post subject: Reply with quote

I'm wondering if it is coming from the locale-gen steps in the handbook, which you could re-do:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Configure_locales
Back to top
View user's profile Send private message
UX.MAN
n00b
n00b


Joined: 09 Mar 2013
Posts: 72

PostPosted: Tue Apr 21, 2015 1:16 am    Post subject: Reply with quote

I figured out. There was a spelling mistake in the LANG variable. I was missing the "-". The correct one is:

Quote:
es_AR.UTF-8


Ok, this solved the language and format problem. But I still see the us keymap there.
Is this meant to be a fallback keymap in case the other ones fail?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum