Recent Versions.
"@angular-devkit/build-angular": "0.13.4",
"@angular-devkit/build-ng-packagr": "0.13.4",
"@angular/animations": "7.2.2",
"@angular/cdk": "7.2.2",
"@angular/cli": "7.3.3",
"@angular/common": "7.2.6",
"@angular/compiler": "7.2.6",
"@angular/compiler-cli": "7.2.6",
"@angular/core": "7.2.6",
"@angular/forms": "7.2.6",
"@angular/language-service": "7.2.6",
"@angular/material": "7.2.2",
"@angular/platform-browser": "7.2.6",
"@angular/platform-browser-dynamic": "7.2.6",
"@angular/router": "7.2.6",
A request for help: I have recently started localizing my application and encountered a problem. While generating the bundle for a specific locale (like Japanese), I am able to use i18n for .html files but unable to do so for .ts files. After some research, I found that there are two potential solutions: ngx-translate and @angular/localize.
However, using ngx-translate doesn't seem suitable for my project, and @angular/localize is recommended for Angular 9 onwards, while I am currently using Angular 7.
Is there a way to translate typescript files in Angular 7 without upgrading to Angular 9 for @angular/localize?