mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-03 06:12:53 +02:00
docs(angular): add multiple locales content (#6901)
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user