iOS Localizable Stringsdict for pluralized translation keys

Localizable.stringsdict files for iOS app localization.

File Extensions .stringsdict
API Extension stringsdict
Format Options convert_placeholder
Import Yes
Export Yes
Pluralization supported? Yes
Descriptions/Comments supported? No

Example

<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
  <dict>
    <key>pluralized_key</key>
    <dict>
      <key>NSStringLocalizedFormatKey</key>
      <string>%#@localized_format_key@</string>
      <key>localized_format_key</key>
      <dict>
        <key>NSStringFormatSpecTypeKey</key>
        <string>NSStringPluralRuleType</string>
        <key>NSStringFormatValueTypeKey</key>
        <string>d</string>
        <key>one</key>
        <string>Only one pluralization found.</string>
        <key>other</key>
        <string>Wow, you have %s pluralizations!</string>
        <key>zero</key>
        <string>You have no pluralization.</string>
      </dict>
    </dict>
  </dict>
</plist>

Format Options

Option Type Upload Download Default Description
convert_placeholder boolean close check false Placeholder will be converted to match format specific requirements. Example: '$s' => '$@'

Note

This format should only be used to provide alternate strings for languages that have different plural rules. To specify language plural rules that can’t be represented by key-value pairs in the iOS Localizable .strings file, use a .stringsdict file.


Further Reading