• 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: FCP, plugins and time/date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FCP, plugins and time/date format


  • Subject: Re: FCP, plugins and time/date format
  • From: Paul Schneider <email@hidden>
  • Date: Tue, 8 Sep 2009 12:21:30 -0500


Hi Jay,

I think you may need to change the region in the "Formats" tab of the Language & Text preference panel. Dates, times, and number formatting are localized using this setting, not the "Language" tab.

See the "Interaction Between Locales and Preferences" section here for more information:

http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFLocales/Articles/CFLocaleConcepts.html

- Paul


On Sep 4, 2009, at 6:24 PM, Jay Boyer wrote:

Our filter generates formatted date/time strings which we want to be
localized.

On my Mac I went into preferences/international and changed French to the
first language and rebooted.


Now the FCP UI shows up in French as expected.

However in our code I got the current locale and it gave me "en_US" (i.e. US
English). When I applied date formatting to an object, the string came out
in English (i.e. "Sunday July 11").


We want our filter to conform to FCP behavior. It doesn't look like FCP is
getting the language setting from the NSLocale settings (or the unix
LC_TIME, LC_ALL environment variables which I also checked). So where is
FCP extracting this information from?


Thanks,

Jay



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Better late than never! OpenCL Example (mostly) (From: Darrin Cardani <email@hidden>)
 >Re: Better late than never! OpenCL Example (mostly) (From: Brian Gardner <email@hidden>)
 >FCP, plugins and time/date format (From: "Jay Boyer" <email@hidden>)

  • Prev by Date: Re: Better late than never! OpenCL Example (mostly)
  • Next by Date: Re: FxPlugs in Snow Leopard
  • Previous by thread: FCP, plugins and time/date format
  • Next by thread: Follow up: FCP and TC
  • Index(es):
    • Date
    • Thread