Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] How do I set the language of LXDM?
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
kaTiezei
n00b
n00b


Joined: 10 Mar 2013
Posts: 39

PostPosted: Tue May 06, 2014 9:02 pm    Post subject: [SOLVED] How do I set the language of LXDM? Reply with quote

Hello,

i have searched the web but didn't find any configuration option for setting the language in LXDM. There is no option in the lxdm.conf file nor did setting the locale of gentoo through eselect locale set help. The date and the "Quit" option are still in English. I have also put the ENV variable in .bashrc of root and /etc/lxdm/XSession.


Last edited by kaTiezei on Sat May 10, 2014 8:34 am; edited 1 time in total
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Wed May 07, 2014 1:20 pm    Post subject: Reply with quote

create /etc/env.d/02locale

and put LC_MESSAGES="<locale code>" (for example pl_PL.UTF-8 for polish) there
This should take care of everything runing on X.
AFAIR setting LANG (in the very same file and with the very same format) will localize yor text-mode stuff.
Back to top
View user's profile Send private message
kaTiezei
n00b
n00b


Joined: 10 Mar 2013
Posts: 39

PostPosted: Wed May 07, 2014 6:28 pm    Post subject: Reply with quote

Hello,

the 02locale existed and I have added LC_MESSAGES. After a reboot: still the same.
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7899
Location: ~Brussels - Belgique

PostPosted: Wed May 07, 2014 6:31 pm    Post subject: Reply with quote

What is your locale? It could be translations don't exist for your language yet.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1717

PostPosted: Wed May 07, 2014 8:59 pm    Post subject: Reply with quote

true, and perhaps you have to generate locale you want to use.
I'm pretty sure those 2 variables are everything you need to "tell" your pc what language you want - but what you want must be avialible first. Gentoo installation manual covers this part pretty well though, so you might have already done that.
Back to top
View user's profile Send private message
kaTiezei
n00b
n00b


Joined: 10 Mar 2013
Posts: 39

PostPosted: Sat May 10, 2014 8:34 am    Post subject: locale-gen solved it. Reply with quote

I have found my mistake: It seems I had forgotten to run locale-gen. Thank you.
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