Format a string with placeholders, including plural and select support to create localized messages.