Internationalization
Policy Editor supports translating messages (strings), such as label texts, error messages, menu items, and dialogs into local languages.
External property files are provided so that a knowledgeable operator can customize these user-visible strings into local languages without altering the software code. In a property file, each externalized string variable is stored as an entry that is part of a key-value pair.
The key is a meaningful representation of a specific string variable; for example, RateLimitActionPanel.PeakRate.label. The value is a customized part of the string content; for example, Peak Rate (bps).
The following shows several examples of externalized strings with customized parts of the string content:
. . .RateLimitActionPanel.PeakRate.label=PeakRate(bps)RateLimitActionPanel.PeakBurst.label=PeakBurst(bytes)RateLimitActionPanel.CommittedAction.label=CommittedAction. . .This feature provides different user-visible contents in Policy Editor based on the customer's location. With the same code, but with different external property files, various users can see different visual representations of the same string.
Some constraints are applied to the external properties to ensure proper layout in Policy Editor panes. In the preceding example, a constraint is placed on the maximum length of the label.
For example, if the maximum length of the label is 39 characters but the actual label length is 200 characters, Policy Editor uses the first 39 characters of the label and logs an error in the log file.
Table 22 lists files that contain externalized strings. They are located in the directory <pom-install-dir>/etc.