FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-06-2008, 12:52 PM
"Dotan Cohen"
 
Default Locale testing

I am having a hard time configuring my locale. Is there an application
that will display a date, a currency value, a time, a large integer, a
negative number, and some other locale-related data such that I can
see how my system is configured?

Specifically, I want Open Office 3 and Thunderbird 2 to use the
yyyy-mm-dd date format but I cannot seem to configure this. I am using
the KDE 3.x desktop. Thanks.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-06-2008, 06:35 PM
"Kelly Clowers"
 
Default Locale testing

On Sat, Dec 6, 2008 at 05:52, Dotan Cohen <dotancohen@gmail.com> wrote:
> I am having a hard time configuring my locale. Is there an application
> that will display a date, a currency value, a time, a large integer, a
> negative number, and some other locale-related data such that I can
> see how my system is configured?
>
> Specifically, I want Open Office 3 and Thunderbird 2 to use the
> yyyy-mm-dd date format but I cannot seem to configure this. I am using
> the KDE 3.x desktop. Thanks.

I use the en_US.UTF-8 locale overall, with the yyyy-mm-dd date format.
I do this with the /etc/environment file with these contents:

LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_TIME="en_DK.UTF-8"

en_DK means English in Denmark, which is a fake locale made for
the ISO date format.

I don't know if OO.o 3 and Thunderbird will pick this up (it is mainly
for CLI and system utilities).


Cheers,
Kelly Clowers


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-06-2008, 06:35 PM
Lisi Reisz
 
Default Locale testing

On Saturday 06 December 2008 13:52:04 Dotan Cohen wrote:
> I am having a hard time configuring my locale. Is there an application
> that will display a date, a currency value, a time, a large integer, a
> negative number, and some other locale-related data such that I can
> see how my system is configured?

Kcontrol -> regional and accessibility -> country/region and language.
Adjust/accept.

HTH
Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-06-2008, 07:06 PM
"Dotan Cohen"
 
Default Locale testing

2008/12/6 Kelly Clowers <kelly.clowers@gmail.com>:
> On Sat, Dec 6, 2008 at 05:52, Dotan Cohen <dotancohen@gmail.com> wrote:
>> I am having a hard time configuring my locale. Is there an application
>> that will display a date, a currency value, a time, a large integer, a
>> negative number, and some other locale-related data such that I can
>> see how my system is configured?
>>
>> Specifically, I want Open Office 3 and Thunderbird 2 to use the
>> yyyy-mm-dd date format but I cannot seem to configure this. I am using
>> the KDE 3.x desktop. Thanks.
>
> I use the en_US.UTF-8 locale overall, with the yyyy-mm-dd date format.
> I do this with the /etc/environment file with these contents:
>
> LANG="en_US.UTF-8"
> LC_CTYPE="en_US.UTF-8"
> LC_TIME="en_DK.UTF-8"
>
> en_DK means English in Denmark, which is a fake locale made for
> the ISO date format.
>
> I don't know if OO.o 3 and Thunderbird will pick this up (it is mainly
> for CLI and system utilities).
>

Thanks. I do know how to set the locales, but I want to see an app
that shows that they are set correctly. Therefore I could conclude
that Open Office is ignoring a correctly set locale and I could file
an issue.

If you'd like to help me, seeing as you are using the ISO date format,
then please enter the date 2008-08-10 into a cell in calc, leave the
cell, then return. Now press F2 to edit the cell. What date format
have you in the edit bar? See attached screenshot for the mess that
OOo is giving me.

By the way, I do know about en_DK, in fact I think that I discovered
it myself while experimenting:
hardy2@hardy2-laptop:~$ cat .bin/thunderbird
#!/bin/bash
export LC_ALL="";export LC_TIME="en_DK.utf8";/usr/bin/thunderbird "$@"

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-06-2008, 07:40 PM
Sjoerd Hiemstra
 
Default Locale testing

Dotan Cohen wrote:
> I do know how to set the locales, but I want to see an app
> that shows that they are set correctly. Therefore I could conclude
> that Open Office is ignoring a correctly set locale and I could file
> an issue.

The locale setting for Open Office is in OO itself.

Tools > Options > Language Settings > Languages > Locale setting


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-06-2008, 07:43 PM
"thveillon.debian"
 
Default Locale testing

Dotan Cohen wrote :
> Thanks. I do know how to set the locales, but I want to see an app

that shows that they are set correctly. Therefore I could conclude
that Open Office is ignoring a correctly set locale and I could file
an issue.

If you'd like to help me, seeing as you are using the ISO date format,
then please enter the date 2008-08-10 into a cell in calc, leave the
cell, then return. Now press F2 to edit the cell. What date format
have you in the edit bar? See attached screenshot for the mess that
OOo is giving me.


[...]

Hi,

my locales are set system wide to fr_FR.UTF-8, and Ooo3 is set to use
the system default in it's linguistic preferences, so if I type
22-11-2008 in calc's cell it gives me 22/11/2008 in the edit bar, and
22/11/08 in the cell (auto-formating).


If I change Ooo3 linguistic settings to "English USA" for the active
document, it instantly changes the cells and the edit bar to the US
format 11/22/2008 in both the cell and the edit bar.


I am talking about Ooo3 1:3.0.0-6 from Debian experimental.

If it can help.

Tom




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-06-2008, 07:53 PM
"Dotan Cohen"
 
Default Locale testing

2008/12/6 Sjoerd Hiemstra <shiems146@kpnplanet.nl>:
> Dotan Cohen wrote:
>> I do know how to set the locales, but I want to see an app
>> that shows that they are set correctly. Therefore I could conclude
>> that Open Office is ignoring a correctly set locale and I could file
>> an issue.
>
> The locale setting for Open Office is in OO itself.
>
> Tools > Options > Language Settings > Languages > Locale setting
>

And where in there can one configure the date format? I have tried
many of the different locale places but none of them give me the
yyyy-mm-dd date format.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-06-2008, 08:17 PM
"Dotan Cohen"
 
Default Locale testing

2008/12/6 thveillon.debian <thveillon.debian@googlemail.com>:
> my locales are set system wide to fr_FR.UTF-8, and Ooo3 is set to use the
> system default in it's linguistic preferences, so if I type 22-11-2008 in
> calc's cell it gives me 22/11/2008 in the edit bar, and 22/11/08 in the cell
> (auto-formating).
>
> If I change Ooo3 linguistic settings to "English USA" for the active
> document, it instantly changes the cells and the edit bar to the US format
> 11/22/2008 in both the cell and the edit bar.
>
> I am talking about Ooo3 1:3.0.0-6 from Debian experimental.
>
> If it can help.
>

Thanks, Tom. In response to your post, I went looking for a list of
the differences between the locales in OOo3. I could not find such a
list, so I asked on the OOo mailing list. Specifically, I am looking
for a locale with yyyy-mm-dd date format but I'd like to know what
other settings will be affected. When I hear back from OOo I will
update here. Thanks.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-*-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه*-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-*-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-*-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
 
Old 12-06-2008, 08:37 PM
Tzafrir Cohen
 
Default Locale testing

Off-topic:

On Sat, Dec 06, 2008 at 10:06:36PM +0200, Dotan Cohen wrote:

> #!/bin/bash
> export LC_ALL="";export LC_TIME="en_DK.utf8";/usr/bin/thunderbird "$@"

This is bashism.

#!/bin/sh
LC_ALL="" LC_TIME="en_DK.utf8" /usr/bin/thunderbird "$@"

Or even better:

#!/bin/sh
LC_ALL="" LC_TIME="en_DK.utf8" exec /usr/bin/thunderbird "$@"

--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:36 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org