I'm attempting to add localizations to values that appear in my Info.plist file. I'm having no trouble doing this for top-level keys using an InfoPlist.strings
file. But, I cannot figure out how to get it to work for non-top-level values.
For example, the CFBundleDocumentTypes
is an array of dictionaries. I need to localize each array's CFBundleTypeName
key differently. A similar situation exists for UTExportedTypeDeclarations
/UTImportedTypeDeclarations
, with the UTTypeDescription
key.
Apple's documentation on UTTypeDescription
specifically says that it can be localized with an InfoPlist.strings files. And I've tried, but have not been successful.
As reference, I tried to refer to Apple's own apps. The only one I was able to find that uses any non-root keys was Xcode, and Xcode isn't actually localized to anything other than English. I cannot be sure if its approach actually works. And, there's at least some strangeness within Xcode's bundle, because there are keys that appear in its InfoPlist.strings file that aren't actually in the Info.plist itself.
Does anyone know how (or if) this can be done?