I have a localized AboutApp.xib file with English and es localized versions, but it always loads the English version even when I have the phone's language set to Spanish. How do I get it to load the Spanish version based on the language?
// Make sure AboutApp View is allocated
if (self.aboutAppController == nil) {
AboutApp* aboutApp =
[[AboutApp alloc] initWithNibName:@"AboutApp" bundle:nil];
self.aboutAppController = aboutApp;
[aboutApp release];
}
[UIView beginAnimations: nil context: nil];
[UIView setAnimationDuration: 1.0f];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp
forView: [self.view window] cache: YES];
[self presentModalViewController: self.aboutAppController animated: YES];
[UIView commitAnimations];