• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Localize weekdays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localize weekdays


  • Subject: Localize weekdays
  • From: jj <email@hidden>
  • Date: Fri, 28 Jan 2005 00:26:24 +0100

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/


 _______________________________________________
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

  • Follow-Ups:
    • Re: Localize weekdays
      • From: Emmanuel <email@hidden>
    • Re: Localize weekdays
      • From: Sander Tekelenburg <email@hidden>
  • Prev by Date: Re: Testing for the presence of an application
  • Next by Date: Re: Terminal grep from AS
  • Previous by thread: Re: Testing for the presence of an application
  • Next by thread: Re: Localize weekdays
  • Index(es):
    • Date
    • Thread