Seems that general "entity_type" (ex: taxonomy term) can't be translated because is not correctly handled on "metatag_translate()" function.
Attached a patch trying to resolve this issue, working on "metatag_entity_view()" level, trying to detect the right instance.
Please review the patch, i'm not really sure if this is the right approach.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | metatag-n2153977-15.patch | 810 bytes | damienmckenna |
Comments
Comment #1
paolomainardi commentedComment #3
paolomainardi commentedPlease find attached the right patch.
Comment #4
paolomainardi commentedComment #5
paolomainardi commentedComment #6
paolomainardi commentedComment #7
paolomainardi commentedUp
Comment #8
paolomainardi commentedup
Comment #9
damienmckennaFYI you don't need to bump issues, I will get to them.
Comment #10
damienmckennaRerolled. I haven't tested it yet.
Comment #11
paolomainardi commentedThanks Damien and sorry for bumping, but i was in a hurry.
Comment #12
damienmckennaI wonder if all such definitions of $instance should be modified in the same way?
Comment #13
damienmckennaComment #14
damienmckennaComment #15
damienmckennaRerolled.
Comment #16
damienmckennaCommitted. Thanks paolomainardi!
Comment #18
paolomainardi commentedThanks a lot @DamienMcKenna :)