docs(angular): add multiple locales content (#6901)
parent
f2671c32c8
commit
33ef642dd8
1 changed files with 12 additions and 1 deletions
@ -1 +1,12 @@ |
||||
# Multiple Locales |
||||
# 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…
Reference in new issue