CHL-Change HTML Lang is a simple WordPress SEO plugin for changing HTML language attribute value in the header.
As of April 2026, CHL-Change HTML Lang is a WordPress seo plugin with 7.0K+ active installations and a 5/5 rating from 4 reviews. It has been downloaded 27K+ times in total. Requires WordPress 4.0+ and PHP 5.3+. Available on WordPress.org since 2018. Last updated 1 year ago — may have compatibility concerns. Downloads are up 65% this week. Top alternative: Yoast SEO – Advanced SEO with real-time….
CHL-Change HTML Lang is a simple WordPress SEO plugin for changing HTML language attribute(language_attributes();) value in header.
Many of us use WordPress(Admin area UI) in the English version but write their content in another language. So by default WordPress uses English(en-US) language attribute for <?php language_attributes(); ?> used in header.php.
For example – If you write your content in Hindi language but use WordPress(Admin area UI) in English, your html language attribute must be hi or hi-IN for many reasons including SEO but WordPress echo html language attribute of installed locale version (en-US by default).
You can’t change HTML language attribute directly so I created this plugin(CHL-Change HTML Lang) that allows you to change HTML language attribute f…
Was searching for a method to just change the default html lang and not mess with other languages on the html, for a multi language site. On the same time, I wanted the main wordpess backend language to English, because changing it messed with some php variables.
This plugin did exactly what I needed.
Hace su trabajo.
Ligero y eficiente.
Wonderful. Exactly what I was looking for. Thanks a million, Pratik, for making this plugin available to anyone in need of changing the language of posts without having to change the entire admin interface’s language. This option should be part of WordPress by default.
Great plugin to change lang=”en_us” to lang=”en” on WordPress
| WordPress | 4.0+ requiredTested up to 6.6.5 |
| PHP | 5.3+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.