//Viewcontroller.m code
NSLocalizedString(@"attributes",@"Attribute Name")
//Localizable.string code
"attributes"="attributes-french";
這種方法的變量NSLocalizedString Problem-本地化本地化的偉大工程@「屬性」持有字符串
現在應該是什麼代碼,如果我想用一個變量
我我正在使用
//Viewcontroller.m code
NSString *[email protected]"attributes"
NSLocalizedString(Value,@"Attribute Name");
//Localizable.string code
"Value"="Value-french";
這不起作用。有人能告訴我使用NSLocalizdString本地化一個變量(包含一個字符串)的正確方法嗎?