问题
im using a videoplayer - and realized that the "done" button seems to be labled with "done" even thogh i set "Localization native development region" to "Germany"
i tried a web video and there it was labled with "fertig"
maybe someone can help me with this.
the code snip is here:
MPMoviePlayerViewController *moviePlayer =
[[MPMoviePlayerViewController alloc] initWithContentURL:fileURL];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(playbackStateChange:)
name:MPMoviePlayerPlaybackDidFinishNotification
object:moviePlayer.moviePlayer];
[mainVc presentMoviePlayerViewControllerAnimated:moviePlayer];
回答1:
You can find the answer here: Localize Done button of MPMoviePlayerViewController
- check the CFBundleDevelopmentRegion in your Info.plist
- make sure you have the German version of InfoPlist.strings
- change the language of your Simulator to German
来源:https://stackoverflow.com/questions/7746051/objective-c-mpmovieplayerviewcontroller-done-button-language