django-modeltranslation
django-modeltranslation copied to clipboard
Compatibility with CKeditor
I'm working to implement model translation on several plugins for a site, which has been going fine, but I've noticed an issue with plugins that inherit from the AbstractText class. Fields are generated just fine, but they don't get the WYSIWYG interface but also copying over the copy that's generated won't parse correctly either. Is there a known way to properly enable translations on the body field that is inherited from AbstractText or is this just a known bug?
I have no idea what AbstractText is. What are you trying to do exactly?
Sorry, I forgot to mention we're using https://github.com/divio/djangocms-text-ckeditor to include fields that can have child plugins added. AbstractText is just the class which has a WYSIWYG editor field attached to it. Issues with the vanilla Django version of the package was referenced here but with no details past "doesn't play nice with". The goal is to allow for translation of these WYSIWYG editing fields so that we can have one instance of a plugin vary the content based on a user's settings for language.
I can't help with this directly, but if you can make pull-request fixing this bug i gladly merge it.
I use django-ckeditor, it's very easy to install and use and it works perfectly.
https://github.com/django-ckeditor/django-ckeditor