Add lang and dir attributes to Group, Columns, Cover, and other specific WordPress Blocks, or to the whole page/post.
As of April 2026, Language Attribute for Container Blocks and Pages/Posts is a WordPress language plugin with 0 active installations and a 5/5 rating from 1 reviews. It has been downloaded 656 times in total. Requires WordPress 5.9+ and PHP 7.2+. Available on WordPress.org since 2025. Actively maintained — updated within the last month. Top alternative: Loco Translate.
This plugin aims to ensure that any language change in a page’s content is indicated to assistive technologies at the container block level, helping a website comply with WCAG guidelines.
This feature is available on the core block editor only at a text formatting level after code from Jb Audras plugin “Lang Attribute for the Block Editor” was merged into core. The objective of this plugin is to provide the same functionality at a container block level (Group – including all its variants, Columns, Cover, and other specific block types) so that the language applies to all child elements, no matter the kind of content inside.
The plugin also supports setting the language at the page or post level, both on the blocks and classic editor. When an entire page is written in a different lan…
| WordPress | 5.9+ requiredTested up to 7.0 |
| PHP | 7.2+ required |
lang and dir attributes for a specific page or post, independently of the website’s default languagePlugin data sourced from WordPress.org. Analysis and metrics by PluginSift.