formatWords beta
Function of @v12-engine/client
ts
export declare function formatWords(text: string, params?: MessageParams, context?: FormatContext): string;A text with its params put in, in a small part of ICU's message format (no library): {param}, count, plural, =0 none one # unit other # units (#the number, by the language's plural rules),race, select, undead ... other ..., amount, number, and id, unit(andability, item, upgrade, buff, resource, race, speaker): the name of an id, a list of them joined as the language joins one. A blank with no param for it stays as it is written