• 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: jj <email@hidden>
  • Date: Fri, 28 Jan 2005 18:59:46 +0100

> In pure AppleScript, the nearest thing I can think of is AppleMods'
> Date library, which can custom format dates in about a dozen
> different (mostly European) languages. Otherwise you'll have to muck
> about in Core Foundation/Cocoa to retrieve the results you're after,
> e.g. see CFDateFormatter [1], NSDate
> descriptionWithCalendarFormat:timeZone:locale: [2]. Or find another
> scripting language that provides a strftime() function with
> localization support and call that via 'do shell script'.

Hmmm... I could use "descriptionWithCalendarFormat:timeZone:locale:", but I
first learn how to use all that "call method" stuff, or ask somebody (yes,
it is a Studio app). Otherwise, I think I will walk Emmanuel's way thru:
/System/Library/PreferencePanes/DateAndTime.prefPane/Contents/Resources/Date
Time.prefPane/Contents/Resources/[your country].lproj/time.strings

Thanks to all!


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

References: 
 >Re: Localize weekdays (From: has <email@hidden>)

  • Prev by Date: Re: Localize weekdays
  • Next by Date: Re: Dodge .DS_Store files in Folder Action
  • Previous by thread: Re: Dodge .DS_Store files in Folder Action
  • Next by thread: RE: Localize weekdays
  • Index(es):
    • Date
    • Thread