I\'m trying to figure out how to use NSLocalizedString with variables.
For example, if I want to output \"by Peter and Larry\", in my Localizable.strings
This is another way and how I do it.
let myString = String.localizedStringWithFormat(NSLocalizedString("by %@ and %@", comment: "yourComment"), name1, name2)
basically, the main idea of Localized String with format is like this:
let math = "Math"
let science = "Science"
String.localizedStringWithFormat(NSLocalizedString("I love %@ and %@", comment: "loved Subjects"), math, science)