• 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
RE: Localize weekdays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Localize weekdays
      • From: jj <email@hidden>
  • Prev by Date: Re: Localize weekdays
  • Next by Date: Re: Localize weekdays
  • Previous by thread: Re: Localize weekdays
  • Next by thread: Re: Localize weekdays
  • Index(es):
    • Date
    • Thread