Re: FCP, plugins and time/date format
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi Jay, http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptu... - 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. Now the FCP UI shows up in French as expected. Thanks, Jay _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/pschneider%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... 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: On my Mac I went into preferences/international and changed French to the first language and rebooted. 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? This email sent to pschneider@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Schneider