Property i18n is not allowed

Viewed 1205

When localizing angular application and adding properties in angular.json file it gives the following warnings.

Under project: Property i18n is not allowed.

"i18n": {
    "sourceLocale": "en-US",
    "locales": {
        "ru": "src/i18n/messages.ru.xlf"
    }
}

Under project/architect/build/configurations: Property localize is not allowed.

"ru": {
    "localize": ["ru"]
}

Meanwhile, ng serve provides this error.

Data path ".projects['xxx']" should NOT have additional properties(i18n).
1 Answers

It looks like you use localization tutorial for Angular 9 (or higher), but your current repository is Angular 8 (or lower).

Related