ICU MEssage format

Read the formatjs.io guide to get familiar quickly with the syntax. nymus adds a few interesting features on top:

JSX

nymus supports JSX tags inside strings. This is useful to inject extra behavior into messages.

{
"MoreInfo": "Find more information on <docsLink>our about page</docsLink>."
}
<MoreInfo docsLink={({ children }) => <a href="/docs">{children}</a>} />

Attributes and self-closing elements are not allowed and nymus will throw an error if they are used.