• 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: Localization of standard paths necessary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Localization of standard paths necessary? (From: Steve Weller <email@hidden>)
 >Re: Localization of standard paths necessary? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Localization of standard paths necessary?
  • Next by Date: Newbie: Encoding NSData to a string
  • Previous by thread: Re: Localization of standard paths necessary?
  • Next by thread: Re: Localization of standard paths necessary?
  • Index(es):
    • Date
    • Thread