angular.io
angular.io copied to clipboard
i18n: AOT pluralization fails in 2.4.x. Known bug in `normalizeLoadedTemplate`
This will be fixed in patch to Angular v.2.4.x when compiler normalizeLoadedTemplate line changes from false to true. Already fixed in v.4.x
Bad:
*/
DirectiveNormalizer.prototype.normalizeLoadedTemplate = function (prenomData, template, templateAbsUrl) { ...
stringify(prenomData.componentType), false, ...
Good:
*/
DirectiveNormalizer.prototype.normalizeLoadedTemplate = function (prenomData, template, templateAbsUrl) { ...
stringify(prenomData.componentType), true, ...
the missing commit in the 2.x branch is https://github.com/angular/angular/commit/e74d8aa