LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Changing default locale/GNOME language (https://www.linuxquestions.org/questions/linux-software-2/changing-default-locale-gnome-language-134035/)

elluva 01-12-2004 01:33 PM

Changing default locale/GNOME language
 
I'd like to have my GNOME in dutch, but since GNOME doesn't have a tool to configure the default language.
How do you do it?
How do you set up the system language?

I am running slackware 9.1 and took the full install...

tnx 4 all help,
elluva

b0uncer 01-12-2004 02:26 PM

well....gosh, I've done this :) I should know. I even put my Gnome to show everything in one language, but use too some characters which didn't at first be there by doing some stuff with locales..

actually I don't, at least at this very moment, know/remember any way other than changing locales..LC_ALL, for example might do it? in terminal/shell, type

locale

to see your _current_ locale settings. I'm not completely sure, as I haven't dealt with these for a while, but you could try doing (in shell/terminal)

set LC_ALL LOCALENAME

where LOCALENAME is one of the locales in locales-directory (I'm not sure if it's the same on Slackware, but in Gentoo they're in /usr/share/i18n/locales/ so check that out - if you find lots of xx_XX@yy and xx:_XX -type files, then find your own :) like

set LC_ALL de_DE@euro

would use de_DE@euro -locale. but don't shoot me if it won't work :)

EDIT: I think, if you happen to screw up, you can recover with "unset" command in shell? I'd suppose so. the plain "set" command shows your current settings, or those that have been set (so LC_ALL won't necessarily be there yet)

elluva 01-12-2004 02:44 PM

set LC_ALL nl_BE
doesn't do a thing, it doesn't even change the LC_ALL variable when I run locale it is still empty...

elluva 01-12-2004 03:45 PM

ok, I solved it, I added

export LC_ALL=nl_BE@euro
export LANG=nl

to /etc/profile

b0uncer 01-13-2004 03:14 PM

ok...nice you could work it out :) I was just about starting to search through my files to see what I changed to get languages/charmaps changed, but now I don't have to (altough I still might, because it's useful)

I still think there's a locale file that tells the system what locales to use...maybe the "set" command just won't do the work (I had some doubts because I myself edited a file, and didn't use commands to set the locales).

I guess my next mission is to locate that file...

elluva 01-13-2004 03:20 PM

Maybe on gentoo, but there is no file to set up your locales in slackware.
I was making quite a quest here when suddenly I realised I could just put it in my profile...
(I am such an idiot sometimes :rolleyes: )

Do you perhaps know the environment variable to set your keyboard layout as well?


All times are GMT -5. The time now is 10:56 AM.