Localizable message formatting
The Formatting framework also provides a string formatter that integrates text, number, and date and time formatting, allowing you to create text strings containing variable formattable data. This formatter provides the functionality of the C printf
function with far more capabilities, allowing you to:
- Completely localize the message:
- Translate the string
- Rearrange the parameters
- Use localized formatters for each parameter
- Use subformatters based on the numeric value of a variable--for example, substituting month names for the values 1 through 12, or providing singular or plural noun and verb forms as appropriate
See "Using TParameterFormatter" on page 219 for more information.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker