Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I create a new node. I have created a pattern which uses localized taxonomy terms [node:source:name] and node terms.
The node terms gets created for the url alias, but the translated taxonomy terms are empty. Only when I translate the node it uses the uses the translated taxonomy terms.
Comments
Comment #1
mmncs CreditAttribution: mmncs commentedI have found out so far that it is in the function:
function token_generate($type, array $tokens, array $data = array(), array $options = array()) {
$options += array('sanitize' => TRUE);
$replacements = module_invoke_all('tokens', $type, $tokens, $data, $options);
"module_invoke_all" the translated taxonomy terms are skipped.
Comment #2
mmncs CreditAttribution: mmncs commented