| 1 | <h2>Full example</h2> |
| 2 | <pre><code>https://unicode-org.github.io/icu/userguide/format_parse/messages/ |
| 3 | |
| 4 | {gender_of_host, select, |
| 5 | female { |
| 6 | {num_guests, plural, offset:1 |
| 7 | =0 {{host} does not give a party.} |
| 8 | =1 {{host} invites {guest} to her party.} |
| 9 | =2 {{host} invites {guest} and one other person to her party.} |
| 10 | other {{host} invites {guest} and # other people to her party.}}} |
| 11 | male { |
| 12 | {num_guests, plural, offset:1 |
| 13 | =0 {{host} does not give a party.} |
| 14 | =1 {{host} invites {guest} to his party.} |
| 15 | =2 {{host} invites {guest} and one other person to his party.} |
| 16 | other {{host} invites {guest} and # other people to his party.}}} |
| 17 | other { |
| 18 | {num_guests, plural, offset:1 |
| 19 | =0 {{host} does not give a party.} |
| 20 | =1 {{host} invites {guest} to their party.} |
| 21 | =2 {{host} invites {guest} and one other person to their party.} |
| 22 | other {{host} invites {guest} and # other people to their party.}}}}</code></pre> |