I am getting this strange warning
Locale data for 'en-US' cannot be found. No locale data will be included for this locale
when running ng build --configuration=prod --localize
here is my angular.json
// omitted
"i18n": {
"sourceLocale": "en-US",
"locales": {
"sr-Latn": {
"translation": "src/locale/messages.sr.xlf",
"baseHref": "/sr/"
}
}
},
// omitted
The documentation clearly states en-US is imported by default.
To make things worse, when i change sourceLocale to any other language (say 'de'), warning message goes away.
Manually registering en-US locale data doesnt help either