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

  • Home
  • SEARCH
  • 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 6678807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:17:09+00:00 2026-05-26T04:17:09+00:00

since I’ve removed some localisations from my app, I have this problem: the first

  • 0

since I’ve removed some localisations from my app, I have this problem: the first time I load my app, I see the localised string of my key in a label. The second time I load the app, the xxxxxkey appears. The next time I load the app, everything is fine again (showing the localized string). How can this be?

I would be glad, if anyone could point me in the right direction. I’m on Xcode 4.2.

Thanks in advance!

  • 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-26T04:17:10+00:00Added an answer on May 26, 2026 at 4:17 am

    I experienced this too after adding the ShareKit library to my project. As it turned out, the issue was that ShareKit includes a localizable.strings file and that my own project included a file with the same name. I’m not sure why, but when you launched the app either of these two localizable.strings were picked up, not both. If you rename your localizable.strings file so that there is no conflicting filename, the issue should disappear.

    If you rename your localizable.strings, you need to update the code that loads strings from this particular strings file by using the NSLocalizedStringFromTable macro instead of NSLocalizedString. For example, I renamed ShareKit’s localizable.strings to ShareKit.strings and edited the first line of this method as follows:

    NSString* SHKLocalizedString(NSString* key, ...) 
    {
        // Localize the format
        // Was:
        // NSString *localizedStringFormat = NSLocalizedString(key, key);
        NSString *localizedStringFormat = NSLocalizedStringFromTable(key, @"ShareKit", key);
    
        va_list args;
        va_start(args, key);
        NSString *string = [[[NSString alloc] initWithFormat:localizedStringFormat arguments:args] autorelease];
        va_end(args);
    
        return string;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since I'm pretty new this question'll certainly sound stupid but I have no idea
Since upgrading to Helios, some of my main shortcuts have stopped working; I use
Since I am trying to send some packets within my home from one PC
Since CS3 doesn't have a web service component, as previous versions had, is there
Since Graduating from a very small school in 2006 with a badly shaped &
Since upgrading a website from ASP.NET 3.5 to ASP.NET 4.0 my dates come out
Since Windows doesnt have a C++ locale with UTF8 support by default, i would
Since I cannot pre-render all the images in PNGs and real-time image transformation functions
Since POST request is separate, I have to do all the stuff I already
Since it's possible using the IsNumeric() and others VB.NET functions from IronPython by importing

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.