Internationalization in Angular
Explain Angular's built-in i18n approach (marking text, locale data, build-time translation) and how it compares to runtime i18n libraries.
Angular ships with a built-in internationalization (i18n) system, and understanding both how it works and how it differs from popular runtime-based i18n libraries (like ngx-translate) is a recurring interview topic for any team building products for multiple locales/languages, since the trade-offs between the two approaches are genuinely significant and worth being able to articulate clearly.
Angular's built-in i18n is like printing an entire separate edition of a book for each language, professionally typeset and proofread ahead of time; a runtime i18n library is like a single universal book with a live, page-by-page translation overlay that can be swapped instantly, at the cost of occasionally being caught without a translated overlay for a specific page.