Description
🚀 Feature request
Command (mark with an x
)
- build
Description
New version of Angular CLI allows us to use the new --localize option to generate different locales. This is great as it significantly reduces the build time for apps with many languages. However, as far as I can tell, the name of the output directory for each language is set to the name of the locale.
So if I have this locale defined:
"locales": { "foo-bar": { "translation": "src/i18n/messages.en-US.xlf" } }
the output directory for this locale would be /foo-bar
.
Describe the solution you'd like
I would like to be able to specify outputPath per locale, ideally by just defining "outputPath" in each locale which would then be appended to existing build options outputPath.
Describe alternatives you've considered
Alternative is to just change name of the locale to the one I want. But this then creates a problem where LOCALE_ID is also changed. And I want my LOCALE_ID to be, for example en-US and my output directory of build to be /en.