Auto-translate taxonomies (500 error)

Created on 5 December 2022, almost 2 years ago
Updated 12 April 2023, over 1 year ago

Problem/Motivation

auto_node_translate doesn't currently support taxonomies, which causes an error when listing terms of a taxonomy that is user-translatable.

Steps to reproduce

1. Create new vocabulary, set primary language and enable translation

2. Create a new term in the vocabulary

3. On the Taxonomy admin, click "List Terms" on the new vocabulary

4. 500 Error

drush ws --extended --count 1

ID Date Type Severity Message
-------- -------------- ------ ---------- ------------------------------------------------------------------------------------------------------------------------------------------------
389214 05/Dec 19:52 php Error Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("taxonomy_term") to generate a URL for route "entity.taxonomy_term.auto_translation_add". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 181 of /var/www/html/web/core/lib/Drupal/Core/Routing/UrlGenerator.php).

Proposed resolution

Extend auto node translation capability to taxonomy term entities.

User interface changes

Add translation form to taxonomy_term

Remaining tasks

API changes

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Ctrlfreq

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024