Install
Works with Drupal: ^9 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
40.45 KB
MD5: 90744e022aafb28d6ed22f3383a0298c
SHA-1: e10862f944ada0c8c72c389bdc3dc53437d8c466
SHA-256: eaf647761df42a5a669c937cd584fa4b3a6f2af473a99ec3ea1e4f93ba5aae31
Download zip
47.84 KB
MD5: e01e83f0495c9036624c276bfdee2088
SHA-1: 1966a46abae08de41233895cdea0066226037aab
SHA-256: fc5f61d6dd1c60e15dac79601c9d7614f952ee93407c09d10f3581a77fa42876
Release notes
π Bug Fix: Taxonomy Term Translation Not Recognized
Resolved an issue where taxonomy term translation was not recognized as an enabled content type due to mismatched entity type prefixes.
π Problem
When translating a taxonomy term, $entity_type was set to 'taxonomy_term' in Utility.php line 631. However, the prefixes defined in AutoTranslatorSettingsForm.php were using 'taxonomy_vocabulary:', causing a mismatch. As a result, taxonomy terms were incorrectly excluded from translation processing.
β Solution
- Updated the prefix from
'taxonomy_vocabulary:'to'taxonomy_term:'inAutoTranslatorSettingsForm.phplines 149 and 150. - This ensures consistent entity type prefixes across the module logic.
π‘ Note
A potential simplification for the future could involve checking the bundle rather than the full entity type in Utility.php (line 639), potentially removing the need for strict prefix management.
π― Result
- Taxonomy terms are now properly recognized and translatable via the auto translation system.
- Settings form and batch operations work as expected for terms.