Messages
A work in progress. Eventually, a complete framework for localizable messages for all user interfaces.
=== 'foo'msg`bar` === 'bar'msg`string ` === 'string baz' // {0, select, foo{bar} other{qux} }const selectMsg = msg === 'bar' === 'qux' // {0, plural, =42{truth} one{one} other{other} }const pluralMsg = msg === 'one' === 'other' === 'truth' // {0, selectordinal, one{#st} two{#nd} few{#rd} other{#th} }const ordinalMsg = msg === '2nd' === '21st' // {gender, select,// male {He} female {She} other {They}// } found {count, plural,// =0 {no results} one {1 result} other {# results}// }.const person = msgconst results = msgconst fullMsg = msg` found .`