//Viewcontroller.m code
NSLocalizedString(@"attributes",@"Attribute Name")
//Localizable.string code
"attributes"="attributes-french";
此方法非常适合 @"attributes" 的本地化
现在如果我想使用变量应该是什么代码
我在用
//Viewcontroller.m code
NSString *Value=@"attributes"
NSLocalizedString(Value,@"Attribute Name");
//Localizable.string code
"Value"="Value-french";
这是行不通的。有人能告诉我使用 NSLocalizdString 本地化变量(包含字符串)的正确方法吗?