Overview - Marking text for translation
What is it?
Marking text for translation in Angular means identifying parts of your app's text that should be translated into different languages. This helps Angular know which words or sentences to replace when the user changes the language. It involves adding special tags or attributes around text so translation tools can find and manage them easily. This process is the first step to making your app multilingual.
Why it matters
Without marking text for translation, your app would only show one language, limiting who can use it. Marking text lets you prepare your app to speak many languages, making it accessible worldwide. It solves the problem of managing many languages in one place and ensures users see content in their preferred language. Without this, translations would be hard to organize and update, causing confusion and poor user experience.
Where it fits
Before marking text for translation, you should understand Angular components and templates basics. After this, you will learn how to extract marked text into translation files and how to load translations dynamically. Later, you will explore advanced internationalization features like pluralization and date formatting.