Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@angular-devkit/build-angular): set document locale with i18n #15718

Merged
merged 1 commit into from
Oct 2, 2019

Conversation

TinyMan
Copy link
Contributor

@TinyMan TinyMan commented Sep 30, 2019

When using i18n (i18nLocale), set the document locale in index.html using the html lang attribute.

Fixes #8102

@clydin
Copy link
Member

clydin commented Sep 30, 2019

Thank for the contribution. This was something that we were interesting in including for 9.0.

An exception can be added for the lint failure via an inline comment. That function will be refactored in the medium-term anyway.

The other CI failure is a flake and can be ignored.

@TinyMan TinyMan force-pushed the build-document-locale branch from ddc1084 to 3803129 Compare September 30, 2019 17:20
@clydin clydin added the target: major This PR is targeted for the next major release label Sep 30, 2019
@vikerman vikerman merged commit c5869f5 into angular:master Oct 2, 2019
@TinyMan TinyMan deleted the build-document-locale branch October 2, 2019 18:01
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ng build for i18n - set document locale
4 participants