0

Hello guys I am trying to add localization in my app and I am using storyboards. I added "Base Internationalization" and it does not appear to be working... For example in my Locilizible.strings(French) I have:

and in my storyboard I have:

however when I run in the French Simulator I get:

Anyone know why?

Abdullah Shafique
  • 6,878
  • 8
  • 35
  • 70

1 Answers1

1

Try this....

[button setTitle: NSLocalizedString(@"Set Subject:", nil) forState: UIControlStateNormal];

This link may help: Storyboard/XIB and localization best practice

Community
  • 1
  • 1
Pratik Mistry
  • 2,905
  • 1
  • 22
  • 35
  • it's bad practice to send 'nil' for the localization comment field. The localization comment lets you explain exactly how and where this string is used, which your localizers won't know from just reading your strings file. – cmyr Apr 05 '14 at 22:12