Project

General

Profile

Change the HTML lang property

Added by Aarón Bueno over 7 years ago

I was trying to find how to change the html lang property, because it makes search engines to increase the score according to the geographic zone of the user. In my case, I want to specify the "lang=es" attribute for the html element, which is "en" irrespective of the client locale and the Wt::WApplication::setLocale settings, and I haven't found a way to change it.

My Wt version is 3.3.4.

Best regards,

Aarón.