• 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: Localized Folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localized Folders


  • Subject: Re: Localized Folders
  • From: Wade Tregaskis <email@hidden>
  • Date: Wed, 13 Aug 2003 23:50:03 +1000

Where do I find the localized names of folders like
Applications, Users, Desktop, Music and so on? And
by the way, is there a way to create custom localized
folders?

I think you can use NSFileManager's displayNameAtPath method to get the localized name of any path, for the user's current localization settings. Unfortunately the documentation doesn't explicitly state this - Apple's documentation is curiously missing any mention of this.

As for creating 'custom localized folders', I'm not sure what you mean... do you mean you want to supply localization folders in your bundle(s) for languages not "standard", or that you want to provide new localizations for existing folders (e.g. Applications, Users, etc)? If the former, then I believe you need only use the appropriate country code in the folder name. Apple do have some documentation on this somewhere, which I don't have handy. If you mean the latter, then I don't think there's any way, short of adding an extra language to the whole system (which is probably entirely possible, but may entail translating much more than just those few folder names).

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Localized Folders (From: Stefan Schüßler <email@hidden>)

  • Prev by Date: Re: NSProgressIndicator not updating
  • Next by Date: Re: scribbling
  • Previous by thread: Localized Folders
  • Next by thread: Re: Localized Folders
  • Index(es):
    • Date
    • Thread