'How to translate a taggit field in Wagtail
I have a Page model, called Activity which has a taggit field called Keywords. I'm using wagtail-localize to allow Activity to be translated. I have configured the localization to synchronise my content from English to other languages, as per the docs.
from wagtail.core.models import Page, TranslatableMixin
from taggit.models import TaggedItemBase
class Keyword(TranslatableMixin, TaggedItemBase):
content_object = ParentalKey('Activity', on_delete=models.CASCADE, related_name='keyword_items')
class Activity(Page):
...
keywords = ClusterTaggableManager(through=Keyword, blank=True)
...
Adding the TranslatbleMixin words for other ForeignKey fields works as the docs say. However doing a "Synchronized translation" in the Wagtail admin page, there is no field to translate or sync translate for Keywords.
Am I missing something.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
