Help Center

Powered by Minitek FAQ Book

Minitek Message cause problem with html “lang” attribute

PT
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
http://www.graf-test.ca/graf2/index.php/fr/

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 —> http://www.graf-test.ca/graf2/index.php/en/
Loading...
0
#2085

2 answers

M
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.
PT
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 http://www.graf-test.ca/graf2/index.php/fr/ — You got <html lang="eng-ca"

Minitek OFF —> Go to http://www.graf-test.ca/graf2/index.php/fr/ — You got <html lang="fr-ca"