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 6070237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:54:38+00:00 2026-05-23T09:54:38+00:00

In my iPhone app, I can successfully change language inside the app’s Settings (just

  • 0

In my iPhone app, I can successfully change language inside the app’s Settings (just the user have to restart the app). I use the trick mentioned in this post: link. I made some modification. I store the selected language in NSUserDefaults, and in main.m:

int main(int argc, char *argv[]) {

    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

    if ( [[NSUserDefaults standardUserDefaults] objectForKey:@"language"] == nil ) {
        [[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObject:@"hu"] forKey:@"AppleLanguages"];
    } else {
        [[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"language"]] forKey:@"AppleLanguages"];
}

    int retVal = UIApplicationMain(argc, argv, nil, nil);
    [pool release];
    return retVal;
}

The “default” Info.plist file is in english, I placed it in the root of the project. I made a hungarian translation of this, because of app name. This file is InfoPlist.strings, and I placed it in hu.lproj folder. In this file:

CFBundleDisplayName = "Sör";

If I change the language, after restart the app, everything is work fine (nib files, strings), except of app name. It doesn’t change…

Can someone tell me what is the problem?

  • 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-05-23T09:54:39+00:00Added an answer on May 23, 2026 at 9:54 am

    You have done almost everything you need to do.

    You also need to instruct your app that it has a localized app name. You do this by adding the following key to your app’s info.plist

    LSHasLocalizedDisplayName
    

    set it’s type as boolean and it’s value to true.

    Once you have done this, your app should localize it’s name.

    You can read more here

    EDIT:

    One more thing you need to do is create an InfoPlist.strings file in the en.lproj folder and add the same key to it with the English equivalent

    CFBundleDisplayName = "<Replace Me>";
    

    Credit for this addition goes to this link

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

Sidebar

Related Questions

I have a Login view in my iPhone app. If the user successfully authenticates
How can I disable my iPhone app sound if the user is playing iPod
I successfully integrated iAd into my iPhone app. However, I can't find a way
I have integrated Twitter and Facebook in my iPhone App successfully. Also Facebook and
I can successfully push only next view in my iPhone app. However, cause the
I have successfully used APNS in iphone app and still have a problem the
I am trying to implement Facebook in my iPhone app and I have successfully
I successfully open Iphone default app with current user location but if user has
I have successfully embedded mono into an existing iphone app. There are some issues
After update our iphone app can not access the keychain. The distribution certificate has

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.