WordPress plugin intelligence profile

Set HTML lang attribute per post

This wordpress plugin adds a meta box for specifying html lang="" language per post.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.1
Current version0.0.1
WordPress coverageTested up to WordPress 4.1
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update11 Jan 201511y ago
Active installations100Adoption metric — not a quality score
WordPress.org rating4.3 / 5 from 3 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Set HTML lang attribute per post version 0.0.1 as active, updated 11y ago and tested up to WordPress 4.1.

Overview

About this plugin

This wordpress plugin adds a meta box for specifying html lang=”” language per post.

The problem this plugin solves

WordPress allows us to specify site-wide language defaults like so:

<meta http-equiv="content-language" content="es">

The problem comes about if you have blog posts in various languages. Personally I write posts in either English or Norwegian. And since English is set as the site-wide language posts that are in Norwegian end up looking kinda weird due to weirdly placed - (hyphenations).

Solution

The solution is to add more specific html lang attributes when needed.

<article id="" class="" lang="vi">

For example this specifies that the post is in Vietnamese. This plugin enables a meta box when editing posts where you may specify the post’s language.

Contributing

This plugin was made in a jiffy. But by all means do suggest improvements. For instance the plugin obviously lacks testing code.

Licensing

Copyright 2014 Nils Norman Haukås

This program is free software; you can redistribute it and/or modify

it under the terms of the GNU General Public License, version 2, as

published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,

but WITHOUT ANY WARRANTY; without even the implied warranty of

MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the

GNU General Public License for more details.

You should have received a copy of the GNU General Public License

along with this program; if not, write to the Free Software

, 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • html
  • lang
  • language
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.1
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity11 Jan 201511y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.