|
Resource String Key FormatWhen strings are externalized, Globalyzer generates a key and enters the key/value pair into a resource file.
To customize the default string key format for a Scan, select Scan=>Manage Scans, then Modify the Scan, clicking Next until you see the Globalyzer String Externalization dialog, and then click the Edit Format button. The key can be generated using the name of the file the string is being externalized from, the string itself, constant text, and then either {ID} or {UID}. You determine what parts make up the key, as well as the order. Each key format needs to include either {ID} or {UID}. These are used to ensure that the generated key is unique to the resource file. If {ID} is specified, the current value of the String Next Key ID in the Globalyzer String Externalization dialog replaces {ID}, and then the value is incremented for the next generated key. However, if multiple users are externalizing strings to the same resource file, using {ID} may result in duplicate keys being generated. If you know that multiple users will be updating the same resource files, we suggest using {UID} in your format. This will dynamically determine the next ID to use by reading the resource file. Enter customizations in the String Key Format field. The Preview field will display an example of a generated key according to the customization.
|