我想知道是否有办法在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