Reputation: 10095
I was adding the localization feature on a branch named 'Localization'. However, I had to submit a hot fix, so I changed branches, did the fix and returned back to the 'Localization' branch. Now NSLocalizableStrings()
doesn't work at all anymore, for any language; it only displays the keys.
I've seen this question and have tried all of the suggestions listed there but none has worked for me.
plutil -lint
to ensure the Localizable.strings
files are validReset Content and Settings
of the simulatorNot a single one of these things worked. Does anyone have any ideas? It was all working fine a few minutes ago
Upvotes: 1
Views: 1743
Reputation: 175
Now working...
Upvotes: 1
Reputation: 10095
Here are the steps that worked for me:
Uninstall the application from Simulator.
Clean the project.
Make some sort of change to each of the Localizable.strings
files in the project (this is to invalidate some kind of cache, I suppose). Just an extra space worked for me.
Run the application.
Upvotes: 2
Reputation: 1113
Try to:
Upvotes: 0