Re: Localized Folders
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.