-
Notifications
You must be signed in to change notification settings - Fork 107
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
Wrong HTML lang #1030
Comments
It looks like an unfinished concept to me! if your theme uses the function "language_attributes()" you could use the corresponding filter.
|
It works ! Thank you. But why qtranslate dont have this most important funciton inside ? Please add this. or optionaly. Interesting fact
|
A similar question was asked in the past. Normally, the locale (front-end) for the HTML lang attribute should be used with priority, if this was defined via the administration (locale at front-end) - but this is currently not the case! The reason why the locale for Russian (Estonia) is still not used can be found in the source code ... as I'm not a fan of Trial & Error, I don't want to go into this any further. |
At least he now has the opportunity to help himself with a possibly urgent project in the short term. |
I setup lang code ru-EE
pic: https://bit.ly/3fhvTSM
But the site frontend is nowhere - ru-EE
Backend is ok . All language translation files is work fine with ru_EE.
But frontend Lang code show: ru-RU
pic: https://bit.ly/3uidqcX
Only with ru-RU problem.
For example if i setup en-EE when all is ok. Frontend en-EE too .
The text was updated successfully, but these errors were encountered: