Tag: UIKit/多言語化
/* Class = "UILabel"; text = "デモです"; ObjectID = "qvR-XQ-kLC"; */ "qvR-XQ-kLC.text" = "デモです";
"label1Title" = "English Label 1"; "label2Title" = "English Label 2";
"label1Title" = "日本語 Label 1"; "label2Title" = "日本語 Label 2";
override func viewDidLoad() { super.viewDidLoad() label1.text = NSLocalizedString("label1Title", comment: "labe 1") label2.text = NSLocalizedString("label2Title", comment: "labe 2") }