ICU MessageFormat¶
ICU MessageFormat is a flexible yet powerful syntax to express all nuances of grammar for each language.
Overview¶
| Format | Example | 
|---|---|
| Simple text | 
 | 
| Variables | 
 | 
| Plurals | 
 | 
| Select | {gender, select, male {He replied to your message}
                 female {She replied to your message}
                 other {They replied to your message}}
 | 
| Ordinals | {count, selectOrdinal, one {1st message}
                       two {2nd message}
                       few {3rd message}
                       other {#th message}}
 |