I am very novice with Drupal 8 multilingual. I have made Taxonomy terms translatable with advice http://drupal.stackexchange.com/questions/211679/drupal-8-make-taxonomy-...

But my Taxonomy menu block displays only default language terms and does not translate menu items.
I think Views will help me, but what to do with Taxonomy Menu module in multilingual Drupal 8 ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tlito created an issue. See original summary.

mErilainen’s picture

Version: 8.x-3.2 » 8.x-3.x-dev
Assigned: Unassigned » mErilainen
Priority: Minor » Major
Status: Active » Needs review
FileSize
2.86 KB

Here is a patch which uses term's translated value if one exists for the link. Not sure if it's the correct way to do, but seems to work.

Rar9’s picture

The patch partially works, but the taxonomy Description is still being pulled from the source language.

vegardjo’s picture

Patch work for me too! Not sure where Taxonomy menu should use the Taxonomy Description, though? (re: comment from @Rar9)

dstol’s picture

Status: Needs review » Needs work

Let's translate the description as well. Back to needs work.

Rar9’s picture

Will this patch work for the 8.3.3 release as well ?

esclapes’s picture

Priority: Major » Normal
Status: Needs work » Closed (duplicate)

I would say this is a duplicate of #2630074: Translation Menu Items partly works.

I just uploaded a patch to that issues including tests. mErilainen thanks for sharing your patch. I think translation in this case should use getTranslationFromContext which accounts for fallback language. Maybe somebody here wants to help with the review.

mariocantor’s picture

#2 works like a charm, thanks for your help..
I applied it manually.

Jorgas’s picture

mErilainen, thank u very much, it works prefect.

zepner’s picture

This patch appears to have stopped working, anyone else?