I have a problem with my app internazionalization.
I put another lenguage with .string method, I transale it and the app work well, everithings is tramslate but not the sctring of code that I put in
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
Info_TextView.layer.cornerRadius = 5
Info_TextView.text = "Test String"
}
So I try for this string to use the NSLocalizedString:
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
Info_TextView.layer.cornerRadius = 5
Info_TextView.text = NSLocalizedString("Test String", comment: "")
}
and after I put the translate in main.string (localized file)
"Test String" = "Testo di Prova"
Unfortunally this don't work.
Thank you for your time