![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Displaying the available locales in english | eamani_sun | Linux | 1 | 07-27-2008 06:30 AM |
| Lang | nhatch | UNIX for Dummies Questions & Answers | 0 | 10-13-2004 08:36 AM |
| gzip english version | mfran2002 | SCO | 3 | 11-28-2003 09:27 AM |
| Please decode in English | ST2000 | Shell Programming and Scripting | 4 | 07-16-2002 10:33 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
LANG=C not English?
On Ubuntu 7.04, why would the "C" LANG parameter not be English:
Code:
$ LANG=C locale LANG=C LANGUAGE=he_IL:he:en_GB:en LC_CTYPE="he_IL.utf8" LC_NUMERIC="he_IL.utf8" LC_TIME="he_IL.utf8" LC_COLLATE="he_IL.utf8" LC_MONETARY="he_IL.utf8" LC_MESSAGES="he_IL.utf8" LC_PAPER="he_IL.utf8" LC_NAME="he_IL.utf8" LC_ADDRESS="he_IL.utf8" LC_TELEPHONE="he_IL.utf8" LC_MEASUREMENT="he_IL.utf8" LC_IDENTIFICATION="he_IL.utf8" LC_ALL=he_IL.utf8 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
man locale
|
|
#3
|
||||
|
||||
|
Thank you grumpf. I did of course read the locale man and info pages before posting here, and I googled locale, c, and utf-8. I could not find the information for changing the C locale in the man page, nor the info page (which is exactly the same as the man page), even after reading it again at your suggestion. Maybe your man page differs from mine, if so please post it. Mine looks a lot like this:
locale(1): locale-specific info - Linux man page |
|
#4
|
|||
|
|||
|
Try:
Code:
LC_ALL=C # or maybe LC_ALL=POSIX One place that explains locale settings in a useful way is to go to The Open Group - Making Standards Work and search for locale. It is many pages of reading. Neo also placed a link to get the POSIX standards in pdf format - it is on the forums here. |
|
#5
|
||||
|
||||
|
Thank you. I've tried several things and now LANG=C is in English. I'm not sure what worked, but I have the result that I need. Thanks.
|
||||
| Google The UNIX and Linux Forums |