I am changing my iOS application preferred language dynamically using this setting:
[[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObject:@"ar"] forKey:@"AppleLanguages"];
Then I load a localised resource file from the main NSBundle object, but the loaded file isn't of the new language, it's loaded in the default english language until I restart the application totally then it loads the arabic localisation.
I want to force NSBundle to load the resource file in the new language @"ar" not the language been set when app starts. How?
See Question&Answers more detail:os