This module provides a Twig function to convert a term ID into its language-aware taxonomy term name. This allows you to display the correct term name based on the current language of the page in your Twig templates.
This module is a Twig extension based on this gist that converts a term ID (TID) to a language-aware taxonomy term name.
After you've enabled this module and cleared caches, you can use tn(123) within your Twig area to output the term name according to the current language selected for the page.
Ask your assistant about TID to Name
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.