Multiple Locales
Last updated
What is Multiple Locales?
To deploy an Angular application with multiple locales, follow these steps:
- Place different versions of your app in locale-specific directories
- Use the HTML
<base>tag with thehrefattribute to set the base URL for relative links. - Deploy each language version in a different subdirectory. Redirect users to their preferred language based on the
Accept-LanguageHTTP header.
Free resources to learn Multiple Locales
More in stage 24: Internationalization
Multiple Locales: common questions
Can I learn Multiple Locales in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Multiple Locales in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Multiple Locales tutorial for beginners?
It is lesson 138 of 158 in the free Angular roadmap, in stage 24, Internationalization. If you are new to Angular, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.