In the USA and Europe the application folder is named Applications, but under Chinese or Japanese localization how is it named?
Is there a way to programmatically get the name of the folder?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The directory names in the filesystem are always in English. The directories can have localized names attached to them for displaying to the user, but those aren’t the names you use to access the directories. From Internationalization Programming Topics:
That said, you get get the path programmatically using
NSSearchPathForDirectoriesInDomains:You can also use
-[NSFileManager URLsForDirectory:inDomains:]:If you need the localized names to display to the user, look at Internationalization Programming Topics.