we have an app that supports English & French localization and we use NSBundle's preferred localization to retrieve the current device locale
NSArray *prefLocalizations = [NSBundle preferredLocalizationsFromArray:[NSArray arrayWithObjects:@"English", @"French",nil]];
So for English it returns English and French returns French and the array has one element. When changing the language from French to Spanish the app is localized to English, since its not supported. The problem here is that we expected the prefLocalization to return English but instead it returns French. Any idea why this happens and how to fix it?
Edit: CFBundleDevelopmentRegion is set to en