Language Attribute for Container Blocks and Pages/Posts

Changelog

3.1 – 2026-06-04

  • [NEW] Add a template language option in the Site Editor templates, used as the default page/post language when no page/post language is set
  • [FIX] Load editor styles with enqueue_block_assets to avoid iframe style warnings
  • [DEV] Tested up to 7.1-alpha-62456

3.0 – 2026-03-09

  • [NEW] Plugin renamed from “Language Attribute for Container Blocks” to “Language Attribute for Container Blocks and Pages/Posts”
  • [NEW] Set the page/post language at the document level: a new “Page Language” panel in the Document Settings sidebar allows overriding the HTML lang and dir attributes for a specific page or post, independently of the website’s default language
  • [TWEAK] Rename “Language Settings” sidebar block panel to “Block Language”
  • [FIX] Gist URL for changing the highlight color using plain CSS
  • [DEV] Tested up to 7.0-beta3-61865

2.2 – 2025-10-20

  • [DEV] Implement deployment actions on GitHub
  • [DEV] Update phpcs rules file

2.1 – 2025-08-09

  • [NEW] Support for the Content block type
  • [FIX] Apply the attribute to the correct Group block tag when it’s not a DIV

2.0 – 2025-08-01

  • [NEW] Support for new block types: Navigation, Submenu, and Page List
  • [DEV] Code refactoring: everything now happens inside a class instead of the main plugin file
  • [DEV] Allow changing the highlight color using the nakedcatplugins_lang_attr_highlight_color filter
  • [TWEAK] Better information and screenshot about the highlighting feature for website Administrators and Editors, in the readme.txt file
  • [TWEAK] Make evident that the language shown as a placeholder is the default website language when a custom language is not set for a block

1.2 – 2025-07-25

  • [NEW] Show visual outline around blocks that have a language attribute set – For easy identification, only for Administrators and Editors, and if enabled in Settings > Writing

1.1

  • [NEW] Add support for the Cover block
  • [DEV] Patchstack mVDP disclaimer on the readme file

1.0

  • First release

Plugin Website
Visit website

Version:
3.1
Last Updated
June 4, 2026
Active Installs
10
Requires
WordPress 5.9
Tested Up To
WordPress 7.0
Requires PHP
7.2

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.