I'm building an application that will be localized in a future version, so I want to setup it to be ready for that.
At the moment I have only one language (French) and the fr.lproj folder contains the Localizable.strings
with french translations for the related keys.
The problem is that If I set my device to English I don't receive the French default translations, but I see the Keys
name that I use in NSLocalizedString
.
For example if I try to get the title for a View Controller with:
NSLocalizedStrings(@"viewController_Title",nil);
The view controller, for device with English language shows "viewController_title" as title, while if I set the French language it works with no problem.
How can I deal with that?
Your project is set to use English as the default language.
In your Info.plist file: Set "Localization native development region" to French.
Missing translations will now fall back to French instead of English.