Re: Change Unix Locale
Re: Change Unix Locale
- Subject: Re: Change Unix Locale
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 07 Apr 2003 08:21:02 -0700
On 4/7/03 2:58 AM, "Andreas Limmer" <email@hidden> wrote:
>
Am Montag, 07.04.03 um 09:59 Uhr schrieb Paul Berkowitz:
>
>
> I've had a confrimation fromthe user in France that all the Unix date
>
> commands - which according to 'man srtftime' are menat to be "national
>
> representations" are all resulting in the same US versions we get
>
> here. I
>
> don't quite understand what is menat by "National".
>
>
>
The reason for this strange result is that Mac OS X seems to ignore
>
most of the LC settings. On most unix systems a
>
>
setenv LANG "fr_FR" (csh style) or a
>
setenv LC_ALL "fr_FR"
>
>
would cause the unix environment to use the local definitions for dates
>
e.a. which reside in /usr/share/locale . Unfortunately OS X does not
>
honour LC_TIME and displays the date always American style. Therefore
>
the national representation of +ï is "April 7" and not "7 avril" and
>
+%d %B results in 07 April and not 7 avril.
Thanks, Andreas. That's exactly what it looked like. Thank you for the
confirmation. I do have workarounds which can determine the local
day/month/year order, and I'll have to use those with short-date numerals,
using %d, %m, %Y and %T separately. I didn't expect to have to do this.
This is a real bug.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.