【发布时间】:2018-12-24 14:57:04
【问题描述】:
我在常量类中有这个静态 let:
struct Constants {
struct AlertsIdentifiers {
static let SERVER_RESTART_MESSAGE = """
The camera will restart now.
Please reconnect after two minutes.
"""
}
}
我开始本地化应用程序。 如何本地化这种字符串?
在我的 localize.string 文件中使用以下代码:
"The camera will restart now.Please reconnect after two minutes." = "The camera will restart now.Please reconnect after two minutes.";
【问题讨论】:
标签: ios swift localization constants