This plugin is outdated and might not be supported anymore
CHL-Change HTML Lang

CHL-Change HTML Lang

By pratik
Details
View on WordPress

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.

Details

Plugin code:
chl-change-html-lang
Plugin version:
1.1.6
Author:
Outdated:
Yes
WP version:
4.0 or higher
PHP version:
5.3 or higher
Test up to WP version:
6.6.2
Total installations:
7,000
Last updated:
2024-05-17
Rating:
Times rated:
4
html-lang
lang-attribute
seo