This module enhances the core language field by offering two new display formatters. These formatters allow you to show the original language of content, independent of the current display language, and also include a translation counter. It overrides a core class to address a bug affecting how language formatters are used for nodes.
This project provides 2 formatters for the core language field;
- display the original language of the content (differently from core language formatter that always display current language of the content)
- display original language with translation counter
This module override the NodeViewBuilder class in core because of a bug in core that has not yet been solved: #2637808: LanguageFormatter is not used for nodes because it's still hard coded in NodeViewBuilder
Ask your assistant about Language Display
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.1.0-alpha1 | Pre-release | 9–11 | May 1, 2024 | ||
| 2.0.0-alpha1 | Pre-release | 9–10 | Mar 4, 2023 | ||
| 2.0.x-dev | Dev | 9–11 | Mar 4, 2023 |