Updated for 2024.
Using the Angular CLI for version 18+, simply run this command:
ng add @angular/localize