I am creating an application that will be localized in a future version, so I want to configure it for this.
Currently, I have only one language (French), and the fr.lproj folder contains Localizable.stringsFrench translations for related keys.
The problem is that if I install my device in English, I don’t get the French translations by default, but I see the name Keysthat I use in NSLocalizedString.
For example, if I try to get the title for the view controller with:
NSLocalizedStrings(@"viewController_Title",nil);
The view controller for a device with English shows "viewController_title" as the title, and if I set French, it works without problems.
How can I handle this?
source
share