Table of Contents


The .stringsdict file is a .plist file that consists of key-value pairs.

It allows you to define language plural rules since it stores all plural forms of a string.

  • Associated file extensions: .stringsdict

  • i18n type: STRINGSDICT

  • Encoding: UTF-8

Sample data

English localization file:

<plist version="1.0"> 
<dict>
<key>period_years_%d</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@years@</string>
<key>years</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>one</key>
<string>%d year</string>
<key>other</key>
<string>%d years</string>
</dict>
</dict>
</dict>
</plist>

Russian localization file:

<plist version="1.0"> 
<dict>
<key>period_years_%d</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@years@</string>
<key>years</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>one</key>
<string>%d year</string>
<key>few</key>
<string>%d лет</string>
<key>many</key>
<string>%d лет</string>
<key>other</key>
<string>%d лет</string>
</dict>
</dict>
</dict>
</plist>

Warning

Please note that positional parameters are not currently supported for the Apple stringsdict file format.

Note

Do you want to find out more about plurals in Transifex? Please check here.

Read more


Parser Behaviour

  • The following table outlines what occurs to untranslated, unreviewed and un-proofread strings when using the API, CLI or UI to manipulate translation files:

stringsdict.jpg#asset:7309

* Proofreading needs to be enabled as an option for this logic to take effect. To learn how to enable proofreading click here.

back to top


Continue Reading

Developer Hub

File Formats

Did this answer your question?