-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Support for Multi-Domain Locale Detection in Angular SSR #29111
Copy link
Copy link
Open
Labels
area: @angular/ssrfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues
Description
Description
Currently, Angular SSR does not provide built-in functionality to detect the domain in a multi-domain setup and serve the appropriate localized version of the application. This feature would allow Angular SSR to dynamically render pages with the correct locale based on the domain.
Use Case:
- Applications serving different localized versions (e.g.,
example.com,fr.example.com,example.de) need SSR to serve the appropriate locale. - Example:
example.com→ English contentfr.example.com→ French contentexample.de→ German content
Describe the solution you'd like
Allow SSR to use the detected domain to select the corresponding locale configuration. Which simplifies multi-language deployment without relying on path-based locales (e.g., /en, /fr).
Describe alternatives you've considered
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: @angular/ssrfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issues