logoalt Hacker News

alexchamberlainyesterday at 1:13 PM2 repliesview on HN

Apologies if this is obvious and I missed it. Does this define a way to store the strings in various languages?


Replies

Cthulhu_yesterday at 2:43 PM

I think this is just the format and specification itself, language selection and file storage and the like will depend on an implementing library. The i18next version for example (bizarrely) puts the whole string in a JSON key, but to be honest I think this is a bad example: https://github.com/i18next/i18next-icu?tab=readme-ov-file#mo...

zbranieckiyesterday at 6:57 PM

Here is a proposal for a message resource format on top of MF2.0 - https://github.com/eemeli/message-resource-wg