-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
lang attribute in html element #565
Comments
As wokaround it's possible to subscribe to onLangChange in the app.component and modify the DOM via My code:
|
Maybe can be done as a new parameter to the module (what do you think about |
Sorry for not answering the issue for such a long time. I see the point in your feature request and We can add the feature if more people ask for it. |
Some news here? |
Thanks @ocombe |
+1 |
12 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
Hey congratulations with your "+1" spam, you made me lock this thread |
Current behavior
The html element in the DOM don't has the lang attribute.
Expected/desired behavior
Having the lang attribute in html element.
The DOM must look like:
<html lang="en">
What is the motivation / use case for changing the behavior?
Be more standard on language identification for SEO or other tools.
ngx-translate version: 6.0.1
Angular version: 4.0.1
Browser: [all]
The text was updated successfully, but these errors were encountered: