unsplash / intlc

Compile ICU messages into code. Supports TypeScript and JSX. No runtime.
MIT License
56 stars 3 forks source link

MF2 support #156

Open samhh opened 2 years ago

samhh commented 2 years ago

https://github.com/tc39/proposal-intl-messageformat

A ways off, but something we should potentially support in the future. intlc will likely still provide a superior experience than plain JS/TS as with ICU especially for type safety.

This may mean adding a new key to each message specifying the format type. We may consider calling it "input" and renaming "backend" to "output". And/or it might mean supporting a new input format entirely alongside JSON.