Abdullah Shafique
Abdullah Shafique

Reputation: 6918

Base Internationalization not working

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?

Upvotes: 0

Views: 195

Answers (1)

Pratik Mistry
Pratik Mistry

Reputation: 2945

Try this....

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

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

Upvotes: 1

Related Questions