---
title: "HTML global lang attribute"
url: "https://alex.zappa.dev/projects/wp-html-global-lang-attribute"
description: "Reduce WordPress HTML language tags to their base language."
---

[← All projects](/projects/)

WordPress plugin

# HTML global lang attribute

Reduce WordPress HTML language tags to their base language.

Changes region-qualified HTML lang attributes such as en-US to their base language such as en.

## My work on HTML global lang attribute

Creator of the WordPress plugin.

## How it works

HTML lang attribute filter

Removes regional suffixes

[Visit HTML global lang attribute ↗](https://wordpress.org/plugins/html-global-lang-attribute/)[Source code ↗](https://github.com/reatlat/wp-html-global-lang-attribute)

More about [Alex Zappa](/about/) and my work.