Help Center

Powered by Minitek FAQ Book

Minitek Message cause problem with html “lang” attribute

Patrick ToulzePosted 2 years agoEdited 2 years ago
Sorry for the messy site but, I put off mostly all modules and plugins
When Minitek Message is on the “lang” attribute in the html head is —> lang="en-ca" even if you are on the french side of the site

It should be —> lang="fr-ca"

When you put the plugin off the “lang” attribute change correctly for each language.

I also try changing the order of loading without success

The english side is —>

2 answers

MinitekPosted 2 years agoModerator
Hi there,

I am using the plugin on multi-language websites without any issues, so I really don't understand how this would happen.

The plugin does not interfere with the language/ language-tag in any way.
Patrick ToulzePosted 2 years agoEdited 2 years ago
It does on that particular site, try it.
If you turn Minitek message off —> No problem, site change from <html lang="eng-ca" to <html lang="fr-ca" when changing language

If you turn Minitek message on —>Problem, stay <html lang="eng-ca" even when changing language

Now, I turn off all others plugin possible.

Minitek ON —> Go to — You got <html lang="eng-ca"

Minitek OFF —> Go to — You got <html lang="fr-ca"