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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:37:23+00:00 2026-06-01T16:37:23+00:00

This is the first time that I have attempted to add some localization into

  • 0

This is the first time that I have attempted to add some localization into an app using Localizable.strings files and I am experiencing an unexpected issue with it. For clarity, these are the steps I have gone through.

  1. File >> New >> New File and added a Resources file of Strings type.
  2. Named the file ‘Localizable.strings’
  3. Clicked into the Localizable.strings file and added Spanish through the Localization section. (I have confirmed in my project folder that I have the en and es folders).
  4. Started to add my KEYS in the Localizable.strings (English) file and then add the Spanish translation into the Spanish file.

As an example, this is one of the localizations I am trying to add.

"CAMERA_ERROR" = "The device does not have a camera";

I am added the exact same string in the Spanish .strings file, but changing the text to suit Spanish. Within my app code I am using the following:

NSString *cameraError = NSLocalizedString(@"CAMERA_ERROR", nil);

Everything seems fine up until this point, but this is where it gets weird and I get confused. If I run the app on one of my iMacs it works fine and depending on what language I set the simulator to it displays the correct English or Spanish string.

However, when I run the exact same app on this MacBook Pro it doesn’t display the string, it instead takes the “KEY” title and displays that. So instead of showing the message as “The device does not have a camera” it shows it as “CAMERA_ERROR”. The code is exactly the same as it is the same project cloned from a git repo.

Can anyone shed any light on this? Any setting on the MacBook that could be different?

  • 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-01T16:37:24+00:00Added an answer on June 1, 2026 at 4:37 pm

    Try doing the following on your MacBook Pro:

    1. clean the project;

    2. remove the app from the simulator/device;

    3. rebuild the app.

    This should fix it.

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

Sidebar

Related Questions

This is the first time I have attempted to create a .dll, that will
I have a database that is currently sharded. This is the first time that
That's my first time posting on stackoverflow. I've been finding usefull answers on this
this is my first time posting here, I have a question which I have
This is my first time making a hash table. I'm trying to associate strings
This is the first time ever I'm using AJAX, and I want to do
this is my first time using StAX for parsing XML documents (still in the
I have a calculation task that will take some time to complete. Minutes. Maybe
This is my first time on StackOverflow though I read Coding Horror quite often.
This is the first time I'm creating an open-source project, and I've decided (based

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.