Incompatible with tmgmt (auto-translation)

Created on 3 June 2024, 6 months ago
Updated 26 August 2024, 3 months ago

Problem/Motivation

We're successfully using this module to automatically generate node titles from a selected taxonomy term and date field on a node.

These are the options we use:

  • Automatically generate the label and hide the label field
  • Pattern: [node:field_category] News, [node:field_cockpit_datum:date:date_short_no_time]
  • All checkboxes below are disabled

TMGMT is configured to auto-translate all newly created nodes of this type from German to English.
This is working well, but the title field stays German, like the generated title, while the TMGMT UI shows it's being returned translated in English correctly!

So I think the reason is that auto_entitylabel overrides this translation with the pattern (but in the wrong language) when TMGMT creates the translated node.

So I tried to check "Preserve already created node titles." to see if that works and leaves the translated title returned from TMGMT untouched, but then I ran into 🐛 %AutoEntityLabel% title when "Preserve already created node titles." option is enabled Needs work
So the result is that the title for the manually created node and the translated node is now: %AutoEntityLabel%.

As TMGMT is widely used, I'm afraid other users could also run into this issue

Re-saving the translation fixes the issue and generates the translated title from tokens correctly, but that's no viable solution ;)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024