locl
locl copied to clipboard
Support Angular 11
npm warnings with Angular 11:
npm WARN @locl/[email protected] requires a peer of @angular/localize@^10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @locl/[email protected] requires a peer of @angular/compiler@^10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @locl/[email protected] requires a peer of @angular/core@^10.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @locl/[email protected] requires a peer of @angular/core@^10.0.0 but none is installed. You must install peer dependencies yourself.
and warning on ng build --prod
Warning: Unable to fully load ./ClientApp/node_modules/@locl/core/locl-core.d.ts for source-map flattening: Circular source file mapping dependency: ./ClientApp/node_modules/@locl/core/locl-core.d.ts.map -> ./ClientApp/node_modules/@locl/core/locl-core.d.ts.map
@ocombe is this project still under active development? It has been working well for us, and I would love to see Angular 11 support.
@greggbjensen You might be able to use "ng extract-i18n" instead. https://angular.io/cli/extract-i18n
As per the last message, the Angular CLI tooling now supports extraction, but notably to JSON format:
ng extract-i18n --format json