Adding localised strings to info.plist

Instead of putting localized strings directly in Info.plist, reference them using key/value strings, and provide localized versions in InfoPlist.strings files.

Use this syntax in your Info.plist for localizable values:

<key>CFBundleDisplayName</key>
<string>$(CFBundleDisplayName)</string>

Create these in the appropriate .lproj folders (e.g. en.lproj, fr.lproj, etc.).

Example: en.lproj/InfoPlist.strings:
CFBundleDisplayName = "My App";

Example: fr.lproj/InfoPlist.strings:
CFBundleDisplayName = "Mon App";

2 Likes