View previous topic :: View next topic |
Author |
Message |
rahulthewall Veteran
Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Thu Feb 19, 2009 2:12 pm Post subject: [solved] Cannot change thunderbird date format (KDE4) |
|
|
Thunderbird does not recognize my system's date preferences. It always defaults to the American format (MM/DD/YYYY). I prefer DD/MM/YYYY. All efforts to change this have been in vain, would really appreciate some help here. I am desperate enough to change to Kmail right now.
Rahul _________________ Who shall guard the guards?
Last edited by rahulthewall on Sat Feb 21, 2009 4:37 pm; edited 1 time in total |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Thu Feb 19, 2009 11:34 pm Post subject: |
|
|
My thunderbird seems to read my locale settings correctly. What is the output of locale in a terminal? _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
rahulthewall Veteran
Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Fri Feb 20, 2009 10:55 am Post subject: |
|
|
Code: | rahul@googly ~ $ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
|
_________________ Who shall guard the guards? |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Fri Feb 20, 2009 10:01 pm Post subject: |
|
|
There's your problem. You'll want to read this. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
rahulthewall Veteran
Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Sat Feb 21, 2009 2:55 pm Post subject: |
|
|
Code: |
rahul@googly ~ $ cat /etc/env.d/02locale
LANG="en_GB.utf8@euro"
LC_COLLATE="C"
|
Code: |
rahul@googly ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.utf8@euro
LC_CTYPE="en_GB.utf8@euro"
LC_NUMERIC="en_GB.utf8@euro"
LC_TIME="en_GB.utf8@euro"
LC_COLLATE=C
LC_MONETARY="en_GB.utf8@euro"
LC_MESSAGES="en_GB.utf8@euro"
LC_PAPER="en_GB.utf8@euro"
LC_NAME="en_GB.utf8@euro"
LC_ADDRESS="en_GB.utf8@euro"
LC_TELEPHONE="en_GB.utf8@euro"
LC_MEASUREMENT="en_GB.utf8@euro"
LC_IDENTIFICATION="en_GB.utf8@euro"
LC_ALL=
|
Can someone please explain the error. _________________ Who shall guard the guards? |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sat Feb 21, 2009 3:07 pm Post subject: |
|
|
The three it mentions are not set. You should set all LC variables to something sane, and there is no point in leaving them at C or POSIX. I don't know why the page I linked sets LC_COLLATE to C. Probably just for demonstration. If you don't mind setting the locale for the entire system (for all users), try something like this instead:
Code: | LANG="en_GB.utf8@euro"
LC_ALL="en_GB.utf8@euro" |
_________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
rahulthewall Veteran
Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Sat Feb 21, 2009 3:47 pm Post subject: |
|
|
Cuber wrote: | The three it mentions are not set. You should set all LC variables to something sane, and there is no point in leaving them at C or POSIX. I don't know why the page I linked sets LC_COLLATE to C. Probably just for demonstration. If you don't mind setting the locale for the entire system (for all users), try something like this instead:
Code: | LANG="en_GB.utf8@euro"
LC_ALL="en_GB.utf8@euro" |
|
Makes no difference.
Code: |
rahul@googly ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_GB.utf8@euro
LC_CTYPE="en_GB.utf8@euro"
LC_NUMERIC="en_GB.utf8@euro"
LC_TIME="en_GB.utf8@euro"
LC_COLLATE="en_GB.utf8@euro"
LC_MONETARY="en_GB.utf8@euro"
LC_MESSAGES="en_GB.utf8@euro"
LC_PAPER="en_GB.utf8@euro"
LC_NAME="en_GB.utf8@euro"
LC_ADDRESS="en_GB.utf8@euro"
LC_TELEPHONE="en_GB.utf8@euro"
LC_MEASUREMENT="en_GB.utf8@euro"
LC_IDENTIFICATION="en_GB.utf8@euro"
LC_ALL=en_GB.utf8@euro
|
_________________ Who shall guard the guards? |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Sat Feb 21, 2009 3:59 pm Post subject: |
|
|
Hm. Maybe you don't have that locale installed, then. Make sure en_GB.utf8 utf-8 is listed in /etc/locale.gen and run locale-gen. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
rahulthewall Veteran
Joined: 01 Nov 2007 Posts: 1264 Location: Zürich
|
Posted: Sat Feb 21, 2009 4:36 pm Post subject: |
|
|
Code: | /etc/locale.gen
en_GB.UTF-8@euro UTF-8
en_GB ISO-8859-1 |
Code: |
/etc/env.d/02locale
LANG="en_GB.utf8@euro"
LC_CTYPE="C"
|
This solves all my locale problems. However, since I already uninstalled Thunderbird and switched to Kmail as I was frustrated with the American Date Format , I cannot check whether thunderbird is working correctly or not. However, I think that it would work well with this , and therefore I am marking the thread as solved.
Thanks a lot Cuber for your help.
Cheers
Rahul _________________ Who shall guard the guards? |
|
Back to top |
|
|
|