Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8328995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:37:20+00:00 2026-06-09T01:37:20+00:00

In the USA and Europe the application folder is named Applications , but under

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:37:22+00:00Added an answer on June 9, 2026 at 1:37 am

    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:

    You need to be aware of localized path names in your application and display them appropriately. Localized path names are for display purposes only and should never be used when accessing the file system. You should continue to use the actual pathname when working with files and directories in your code, including when you need to write to caches or user preferences. The only time you should use a localized path name is when you want to display that path to the user through your application’s user interface.

    That said, you get get the path programmatically using NSSearchPathForDirectoriesInDomains:

    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationDirectory, NSLocalDomainMask, YES);
    // Returns an NSArray containing the string "/Applications"
    

    You can also use -[NSFileManager URLsForDirectory:inDomains:]:

    NSArray *urls = [[NSFileManager defaultManager] URLsForDirectory:NSApplicationDirectory inDomains:NSLocalDomainMask];
    // Returns an NSArray containing the NSURL "file://localhost/Applications"
    

    If you need the localized names to display to the user, look at Internationalization Programming Topics.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I download a page with encoding: usa-ascii but I get wrong character. why?? WebClient
We need a way to say www.site.com/india www.site.com/asia www.site.com/usa etc... But we want all
We develop iPhone apps in Europe and sometimes we demo them in the USA
i build a new website.but the host is in USA.i am not in USA.
I need a select result to look like this UK Europe USA The values
I'm trying to get the country name United States (or initials USA/US). I've tried
I dunno about USA and the UK, but in India, schools still teach GW-BASIC.
Is there any fast and stable way to detect whether a user is from
I have a map of the USA and a list of long, lat that
database name customdata jobNo CustomerName Country Tel Item 1 John USA 045 Mouse 2

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.