Does anyone know what the xcode file "InfoPlist.strings (English)" is?

Does anyone know what the InfoPlist.strings file is InfoPlist.strings ? This is in Xcode 3.2. This is a Cocoa app in Applescript.

+6
source share
1 answer

The information properties list file is a structured text file that contains important configuration information for the bundled executable file. The file itself is usually encoded using Unicode UTF-8 encoding and the contents are structured using XML. The root XML node is a dictionary whose contents are a set of keys and values ​​that describe various aspects of the kit. The system uses these keys and values ​​to obtain information about your application and how to configure it. How As a result, all executable files (plugins, frameworks and applications) are expected to have a file listing information properties.

By convention, the name of the Info.plist information property list file.

Localized values ​​are not stored in the Info.plist file itself. Instead, you save the values ​​for a specific localization to a file called InfoPlist.strings. You put this file in the same language project that you use to store other resources for the same localization. Content The InfoPlist.strings file is the individual keys that you want to localize and appropriately translated cost. Routines that look for key values ​​in the Info.plist file accept user preferences to consider and return a localized version of the key (from the corresponding InfoPlist.strings file), if one exists. If a localized version of the key does not exist, the routines return the stored value in the Info.plist file.

For example, a TextEdit application has several keys that are displayed in the Finder and therefore must be localized. Suppose your information Property List File defines the following keys:

CFBundleDisplayName TextEdit NSHumanReadableCopyright Copyright © 1995-2009, Apple Inc., All Rights Reserved. French localization for Next TextEdit includes the following lines in the InfoPlist.strings file of its contents / resources / French.lproj directory:

CFBundleDisplayName = "TextEdit"; NSHumanReadableCopyright = "Copyright © 1995-2009 Apple Inc. \ nTous droits réservés.";

From developer.Apple.com

+9
source

All Articles