Closed nahue closed 10 years ago
I am not familiar with redactor translations or how they implement, but i believe you must include some addition .JS files.
In that case you can extend RedactorWidget
and add additional .JS files to Media
and use your own widget class.
Here is how RedactorWidget
class looks.
https://github.com/darklow/django-suit-redactor/blob/master/suit_redactor/widgets.py
I've figured it out :) the code is in this gist -> https://gist.github.com/nahue/73a0a6889ad74df94f54
Basically i've modified the translation js downloaded from redactor's site, i think it didn't work because of the encapsulation of the plugin.
And then i've extended the RedactorWidget (i could added the js through my admin's model Media class too :)
I was taking a look to the redactor site on how to translate their plugin to another language, but i noticed it does not work with this package implementation. Do you know how can i integrate translations?