Re: Localization of standard paths necessary?
Re: Localization of standard paths necessary?
- Subject: Re: Localization of standard paths necessary?
- From: Chris Suter <email@hidden>
- Date: Mon, 26 Mar 2007 14:09:15 +1000
On 26/03/2007, at 2:01 PM, Nick Zitzmann wrote:
On Mar 25, 2007, at 9:41 PM, Steve Weller wrote:
If I have a reference to @"~/Pictures" in my application, then do
I need to localize this or use a method that returns the correct
name for that folder?
You don't need to localize that path. However, if there is a
constant for the folder supported by the FSFindFolder() function,
then you ought to use that instead.
Nick Zitzmann
<http://www.chronosnet.com/>
Just to add to that: it does get localised by the system; the
presence of the hidden file ".localized" causes that to happen, but
the filesystem name will remain constant. This means that if you want
to display that name anywhere (and it's not via a standard control),
you should get the localised name. For more information, you can read:
http://developer.apple.com/documentation/MacOSX/Conceptual/
BPInternational/Articles/LocalizingPathnames.html
- Chris
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden