4
-(IBAction)about {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"About", @"Title of AlertView")
message:@"App name \n© My name \n2010"
delegate:self
cancelButtonTitle:NSLocalizedString(@"Back", @"Cancel Button Title")
otherButtonTitles:nil];
[alert show];
[alert release];
}
而在Localizable.strings:
/* Title of AlertView */
"About" = "Über";
/* Cancel Button Title */
"Back" = "Zurück";
我的問題:當語言是德語是德國的,但是當我改變語言爲英語警報視圖仍然是德國人
怎麼了?
仍然不起作用:( – Leon 2010-11-28 15:16:36
您確定你有2個文件看起來這些像? http://grab.by/grabs/9de2f9e8f874eb23249a57acd5e74497.png – Knodel 2010-11-28 15:19:16