I can't seem to understand: is there or is there not a version ready for Drupal 10?
Hi there,
Is it gonna be a Drupal 10 compatible version ?
For the moment, we should not think about creating new sites in Drupal 9 insofar as its end of life is fast approaching...
Thanks in advance for your answer.
Hi mohithasmukh
Thank you for your answer and the patch.
I can confirm that it works but I still need to do some testing as I've used it so far to generate a lot of taxonomy term aliases with Pathauto.
But without a doubt, who can do more can do less.
Anyway I still have tests to do because I am currently creating my terms and their translation programmatically and if the url of the term in the language of the site is created automatically, the url is not created for the translated term.
It may be a problem in my script, I'll come back soon to tell you what it is.
Here is my code, if you see something missing for the translation to be created don't hesitate to tell me.
$new_term = Term::create([
'vid' => 'activites',
'name' => $value["fr"]["name"],
'description' => [
"value" => $value["fr"]["description"],
"format" => 'full_html',
],
]);
$new_term -> addTranslation('en', [
'name' => $value["en"]["name"],
'description' => [
"value" => $value["en"]["description"],
"format" => 'full_html',
],
'path' => [
'pathauto' => PathautoState::CREATE,
]
]);
$new_term -> save();
alexdezark → created an issue.