Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
The readme doesn't mention any i18n parameters, so we were quite surprised when translations were partially broken after adding the AotPlugin. Digging through the code a bit, we found that these parameters work:
plugins: [
new AotPlugin({
...
locale: 'XX',
i18nFile: helpers.root('src/locale/messages.XX.xlf'),
i18nFormat: 'xlf',
}),
]
Please document them. An open question is whether it's possible to generate a single bundle with all languages (that's what we're doing now without AOT). My guess after looking through the code is no.
Bug Report or Feature Request (mark with an
x)The readme doesn't mention any i18n parameters, so we were quite surprised when translations were partially broken after adding the
AotPlugin. Digging through the code a bit, we found that these parameters work:Please document them. An open question is whether it's possible to generate a single bundle with all languages (that's what we're doing now without AOT). My guess after looking through the code is no.