LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Changing lang (https://www.linuxquestions.org/questions/slackware-14/changing-lang-928679/)

scam 02-10-2012 11:12 AM

Changing lang
 
Hi all, i was wondering what's the way to change the language on slackware. I've googled around but not working.

Thanks :)

Ilgar 02-10-2012 11:19 AM

Do you mean the keyboard language or system locale? For the latter, try editing /etc/profile.d/lang.sh

yasoo 02-10-2012 05:23 PM

Hello scam,

I found this link very useful for language settings on slackware.

http://broadcast.oreilly.com/2009/01...derivativ.html

Greets
Yasoo

scam 02-11-2012 04:10 AM

Thanks Ilgar,yasoo yes i wanted to know how to change the keyboard language, and is it possible to give one user say english and another german.

wildwizard 02-11-2012 04:38 AM

For per user settings

"man bash" gives us this section on invocation :-
Quote:

When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.
/etc/profile.d/lang.sh (System setting)
~/.bash_profile (User setting)

Do note that ~/.bash_profile ~/.bash_login ~/.profile are searched for in order but only the first one that is found is actually executed.


All times are GMT -5. The time now is 03:07 PM.