LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2003, 10:39 PM   #1
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Locale question.


I notice, when running some apps from the command line, a message saying locale "C" is not supported. When I run the locale command in a terminal, the output is as follows:

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=


What I am wondering is, what is the significance of the locale settings, and do I have them set up properly? "C" doensn't look like a locale, I was expecting something like US or something like that.
 
Old 06-30-2003, 01:12 PM   #2
hexbit
Member
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
locale

From the man page:
Description:
The locale command either displays information about the current locale environment or displays information about all locales. A locale defines your environment in terms of language and cultural conventions.

Basically, it deals with your language specs.. "C" is just the default .. The easiest way to change it would be to open up "kcontrol" ("kcontrol &" from the console) and go to "Regions & Accessibility > Country Region & Language" .. Change "Country" from C to wherever your located.. hit Apply and it should work .. or, if you're feeling brave, you can use "localedef" from the console to set things manually ..
 
Old 06-30-2003, 01:39 PM   #3
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
Tried that thing in the KDE Control Center. Didn't work, not that I expected it to, I don't use KDE. Turns out that I don't have a man page for localedef, and the stuff that turned up with a google search didn't really help.
 
Old 07-01-2003, 12:31 AM   #4
hexbit
Member
 
Registered: Jun 2003
Location: Dallas, Tx
Distribution: Slackware
Posts: 65

Rep: Reputation: 15
I dont use KDE either so I was hoping that would work but it turns out it's just the settings for KDE only .. Anyway, here's a link that describes the locale command :

http://www.uwm.edu/cgi-bin/IMT/wwwma...e(4)&msection=

and here's one that describes the localedef command :
http://www.uwm.edu/cgi-bin/IMT/wwwma...f(1)&msection=

.. If you're trying to install a different locale than C make sure it's installed first otherwise it won't work .. I use the locale for the US but for the life of me can't figure out how I set it .. ah well, it's been a long day - i'll figure it out tomorrow and re-post ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
KDE locale question Belegdol Linux - General 1 11-21-2006 04:32 AM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM
quick question (LC_ALL locale) spamhippy Slackware 6 11-29-2005 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration