We’ve got a project in iOS to which we’ve added NSLocalizedString() in order to localize it.
We also have an an in-house framework that we use which is linked in to the project. We’ve compiled a Localizable.strings file for both the project and the framework (in a single file) and we’ve created a localized Spanish version in a folder called es.lproj… However the localized strings are only appearing in the project – code which is running from within our framework are not showing the localized strings – is there something we’ve missed here?!
We’ve got a project in iOS to which we’ve added NSLocalizedString() in order to
Share
Try using NSLocalizedStringFromTable().
See the following question:
Split localization in many files
Note: that the Localized.strings files are not compiled but added as resources in the application.
The correct string is fetched during runtime.