iOS. Pluralization. Stringdict with format that contains 2 int arguments
问题 My question is similar to How to add regular string placeholders to a translated plurals .stringdict in swift ios but I am trying to understand if it is possible to pass 2 int parameters to strings dict. Say if I want to translate something like: 1 apple : 3 pears 2 apples : 1 pear Is it possible to do it in one localized format string like: let apples = 1 let pears = 3 let applesAndPears = String.localizedStringWithFormat(<format>, apples, pears) print(applesAndPears) or do I have to combine