From 33ef642dd8b05331803ce48ff44d72e0def07199 Mon Sep 17 00:00:00 2001 From: "J. Degand" <70610011+jdegand@users.noreply.github.com> Date: Sun, 1 Sep 2024 07:44:48 -0400 Subject: [PATCH] docs(angular): add multiple locales content (#6901) --- .../multiple-locales@9ISvaaJ815_cr_KW9vQhT.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/angular/content/multiple-locales@9ISvaaJ815_cr_KW9vQhT.md b/src/data/roadmaps/angular/content/multiple-locales@9ISvaaJ815_cr_KW9vQhT.md index d14748e23..d76edc4f0 100644 --- a/src/data/roadmaps/angular/content/multiple-locales@9ISvaaJ815_cr_KW9vQhT.md +++ b/src/data/roadmaps/angular/content/multiple-locales@9ISvaaJ815_cr_KW9vQhT.md @@ -1 +1,12 @@ -# Multiple Locales \ No newline at end of file +# Multiple Locales + +To deploy an Angular application with multiple locales, follow these steps: + +1. Place different versions of your app in locale-specific directories +2. Use the HTML `` tag with the `href` attribute to set the base URL for relative links. +3. Deploy each language version in a different subdirectory. Redirect users to their preferred language based on the `Accept-Language` HTTP header. + +Visit the following resources to learn more: + +- [@official@Angular Official Docs - Deploy Multiple Locales](https://angular.dev/guide/i18n/deploy) +- [@video@How Make Multi-Language Angular Websites - Full Guidance On Angular Localization](https://www.youtube.com/watch?v=vSwYuyH4kMA) \ No newline at end of file