Sample stringsdict file is shown below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>HoursKey</key>
  <dict>
    <key>NSStringLocalizedFormatKey</key>
    <string>%#@value@</string>
    <key>value</key>
    <dict>
      <key>NSStringFormatSpecTypeKey</key>
      <string>NSStringPluralRuleType</string>
      <key>NSStringFormatValueTypeKey</key>
      <string>d</string>
      <key>one</key>
      <string>%d hour</string>
      <key>other</key>
      <string>%d hours</string>
    </dict>
  </dict>
</dict>
</plist>

File Specifications

Gen
File Specifications:

When adding a stringsdict file, the contents of your file have to conform to the following standards:


File EncodingUTF-8This file has to be encoded with UTF-8 standard.
Plural HandlingiOS Strings DictionaryStringsdict files (generally used as "Localizable.stringsdict") are designed specifically for plural keys. Learn more.
Placeholder PatterniOS StyleStringsdict files can contain Apple's format specifiers which follow IEEE printf specifications. Learn more.
New LineUnix StyleStrings file should be encoded with Unix style new line endings.