CHL-Change HTML Lang

CHL-Change HTML Lang is a simple WordPress plugin that change html language attribute(language_attributes();) value in header.

Author:pratik (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.3
Plugin version:1.1.5
Added to WordPress repository:22-05-2018
Last updated:23-07-2023
Rating, %:100
Rated by:4
Plugin URI:https://wordpress.org/plugins/chl-change-html...
Total downloads:16 843
Active installs:4 000+
plugin download
Click to start download

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 from the dashboard.
After activating this plugin simply visit Settings → General and change HTML lang tag.

Bug reports

Bug reports for CHL-Change HTML Lang are welcomed on GitHub.


Screenshots
FAQ
ChangeLog