locl icon indicating copy to clipboard operation
locl copied to clipboard

Support Angular 11

Open YZahringer opened this issue 4 years ago • 3 comments

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

YZahringer avatar Jan 05 '21 11:01 YZahringer

@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 avatar Aug 03 '21 22:08 greggbjensen

@greggbjensen You might be able to use "ng extract-i18n" instead. https://angular.io/cli/extract-i18n

mikerentmeister avatar Aug 30 '21 19:08 mikerentmeister

As per the last message, the Angular CLI tooling now supports extraction, but notably to JSON format: ng extract-i18n --format json

richard-ob avatar May 05 '22 08:05 richard-ob