How can I create a string for multiple languages?
I want this rule for more languages.
localNotification.alertBody = "You have received \(Int(msg)) new messages"
I want it:
U_Have = "You Received"; (In English)
U_Have = "U heeft"; (Dutch)
New_msg = "new messages"; (In English)
New_msg = "nieuwe berichten"; (Dutch)
I think it will look like this:
localNotification.alertBody = "U_Have \(Int(msg)) New_msg"
But how can I make this possible with Swift for iOS?
source
share