Internationalization
Angular i18n Testing: Locales, Pipes, and Translation Keys
Angular's approach to internationalization creates a testing challenge: the default compile-time i18n bakes translations into the build, making runtime locale switching in unit tests awkward. This guide covers how to configure Angular TestBed for locale-aware testing, how to unit test locale-sensitive pipes, and how to use component harnesses