Hi all, I want to change the default locale (en-US) to nl-NL. Next to this default language I also have en-US and nl-BE.
When I run ng build --localize I got the message: Locale data for 'nl-NL' cannot be found. Using locale data for 'nl'
When I access the build behind /nl the injected LOCALE_ID is 'nl', I want it to be 'nl-NL'.
Below my angular.json configuration:
"i18n": {
"sourceLocale": {
"code": "nl-NL",
"baseHref": "nl/"
},
"locales": {
"en-US": {
"translation": "src/locale/messages.en.xlf",
"baseHref": "en/"
},
"nl-BE": {
"translation": "src/locale/messages.be.xlf",
"baseHref": "be/"
}
}
}