Pluralisation using Strings dict

Hi all,

I am attempting to use the pluralisations with the strings.dict file we have within the project. We want the string to look like %@: Add %li item from the list below .where the first param is a string and the second param is a Int. e.g. Name: Add 2 items from the list below.

This is what I am currently using:

	<dict>
		<key>NSStringLocalizedFormatKey</key>
		<string>%#@quantity@</string>
		<key>quantity</key>
		<dict>
			<key>NSStringFormatSpecTypeKey</key>
			<string>NSStringPluralRuleType</string>
			<key>NSStringFormatValueTypeKey</key>
			<string>li</string>
			<key>one</key>
			<string>%@: Add %li item from the list below</string>
			<key>other</key>
			<string>%@: Add %li items from the list below</string>
		</dict>
	</dict>

However the problem arises if you had a translation which had the list name after the quantity argument then it would crash.

Any help would be much appreciated. Thanks

Pluralisation using Strings dict
 
 
Q