NSLocalizedString does not return matching text

3

Personal

I am using the NSLocalizedString function in an app for iOS but it is not returning the referring text that I put in a Localization.strings file that has the content below. Could someone help me solve this?

label.text = NSLocalizedString(@"MEDICO", nil);

File :

/* 
  Localization.strings
  Hexapod

  Created by Celso Melero on 08/06/15.
  Copyright (c) 2015 inArts Studio. All rights reserved.
*/

/* Médico */
"MEDICO" = "Doctor";
    
asked by anonymous 10.06.2015 / 03:15

1 answer

3

First make sure that you have selected the languages you will support in your project:

Secondly,makesureyouareusingthecorrectnameforthelocationfile,itshouldbenamedLocalizable.stringsandnotLocalization.stringsasyouputinthequestion:

    
10.06.2015 / 13:15