Re: FCP, plugins and time/date format
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