-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Wrong html lang with ng serve #18094
Copy link
Copy link
Closed
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserdevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
Milestone
Metadata
Metadata
Assignees
Labels
area: @angular-devkit/build-angulardevkit/build-angular:browserdevkit/build-angular:dev-serverfreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity3: brokentype: bug/fix
🐞 Bug report
Command (mark with an
x)Is this a regression?
no
Description
A clear and concise description of the problem...When using
ng serve, the htmllangattribute is not set to the correct locale.🔬 Minimal Reproduction
https://github.com/TinyMan/serve-wrong-locale-id
ng serve -c frWe can see in browser that the html starts with :
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?