U_CAPI int32_t u_formatMessage ( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UErrorCode *status, ...)
Format a message for a locale
Documentation
Format a message for a locale.
This function may perform re-ordering of the arguments depending on the
locale. For all numeric arguments, double is assumed unless the type is
explicitly integer. All choice format arguments must be of type double.
- Returns:
- The total buffer size needed; if greater than resultLength, the
output was truncated.
- Parameters:
- locale - The locale for which the message will be formatted
pattern - The pattern specifying the message's format
patternLength - The length of pattern
result - A pointer to a buffer to receive the formatted message.
resultLength - The maximum size of result.
status - A pointer to an UErrorCode to receive any errors
... - A variable-length argument list containing the arguments specified
in pattern.
- See Also:
- u_parseMessage
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de