docs(angular): add multiple locales content (#6901)

pull/6937/head
J. Degand 3 months ago committed by GitHub
parent f2671c32c8
commit 33ef642dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 11
      src/data/roadmaps/angular/content/multiple-locales@9ISvaaJ815_cr_KW9vQhT.md

@ -1 +1,12 @@
# 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 `<base>` 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)
Loading…
Cancel
Save