是否可以在Localizable.strings中连接字符串文字?

时间:2014-04-01 18:46:42

标签: objective-c xcode

我想知道是否有办法在Localizable.strings中以某种方式连接字符串文字。

例如,像这样:

"alert_message_foobar_error_message" =
    "Foo has experienced an error while doing something. "
    "You may want to try doing something to fix foo. "
    "Good luck.";

会导致"Foo has experienced an error while doing something. You may want to try doing something to fix foo. Good luck."

我尝试使用+运算符以及我在示例中显示的内容,但Xcode只是给出了错误Copy .strings file Error. Read failed: The data couldn't be read because it isn't in the correct format

0 个答案:

没有答案