MessageFormatter::formatMessage msgfmt_format_message Quick format message &reftitle.description; &style.oop; public static string MessageFormatter::formatMessage stringlocale stringpattern arrayargs &style.procedural; string msgfmt_format_message stringlocale stringpattern arrayargs Quick formatting function that formats the string without having to explicitly create the formatter object. Use this function when the format operation is done only once and does not need and parameters or state to be kept. &reftitle.parameters; locale The locale to use for formatting locale-dependent parts pattern The pattern string to insert things into. The pattern uses an 'apostrophe-friendly' syntax; it is run through umsg_autoQuoteApostrophe before being interpreted. args The array of values to insert into the format string &reftitle.returnvalues; The formatted pattern string or &false; if an error occurred &reftitle.examples; <function>msgfmt_format_message</function> example ]]> OO example ]]> &example.outputs; &reftitle.seealso; msgfmt_create msgfmt_parse msgfmt_get_error_code msgfmt_get_error_message