-
Notifications
You must be signed in to change notification settings - Fork 113
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
[Bug Report] vuetify overwrites the lang="" attribute in index.html and will set it to lang="en" #274
Comments
is doesn't "change this value back", it sets it to the language you have chosen in plugin options |
I just created another project to check.
index.html looks fine then
Select and after adding index.html has lang="en". no where in this process here it is asking me if I want vuetify to set lang="" to lang="en" so I will not know if vuetify has overwritten the vue lang="" because it was an issue before with vue and they fixed it. But now I realized that the ** Edit: ** The rest of the changes which vuetify-plugin does to the project are visible and they are fine and noticeable but normally I did not expect that it replaces the index.html lang attribute because that was a fix which vue guys have done already |
imho setting lang to "" should be only the workaround for those who have problem with translators, not the default behaviour |
This is not related to vuetify to change it. It should leave it out because it has already had a long discussion in |
If you don't want to use the presets you can select the |
There is a config for the CLI? Ok I will try that. |
I'm going to close this as this is currently the intended functionality and an option is provided to select locale if that is preferred. Feel free to open a feature request if you have any further suggestions, thank you. |
Environment
Vuetify Version: 2.4.0
Vue Version: 2.6.11
Browsers: Chrome 90.0.4430.212
OS: Windows 10
Steps to reproduce
just on a new vue project, run
Expected Behavior
It is expected that after adding vuetify to the project it doesn't change this value back to "en" because it causes a lot of issues with translators for users.
Actual Behavior
by default vue has the lang attribute set to empty according to the following issue but after adding vuetify, it will replace the lang="" with lang="en"
vuejs/vue-cli#5945
The text was updated successfully, but these errors were encountered: