RE: Localize weekdays
RE: Localize weekdays
- Subject: RE: Localize weekdays
- From: Dennis Cox <email@hidden>
- Date: Fri, 28 Jan 2005 09:17:10 -0600
Title: RE: Localize weekdays
----------
From: jj
Sent: Thursday, January 27, 2005 5:26 PM
To: applescriptmaillist
Subject: Localize weekdays
Hi all!
I'm working on a calendar. I guess the answer is "NO" but... Do you know a
way to "localize" weekday names?
Eg (pseudo-code):
Thursday as text --> "jueves" (in a spanish system)
Coercing a date to text *works*:
(current date) as text --> "viernes, 28 enero 2005 00:08:57"
But I don't think I can pick "viernes" from this string, since I don't know
if word-of-dateAsText-which-is-not-a-number is a weekday or a month name...
I could try attempt to compile such thing, and it would work, unless the
user doesn't like the weekday for his long-date-format and disables it in
the International pref-pane. So, any idea?
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
What do you get for
do shell script "date '+Date: %A'"
?
Dennis
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden