-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translating wagtailimages.Image #174
Comments
Hi @jorenham, Which version of Lastly, note that translating one of Wagtail's own model will result in a Wagtail migration or you'll need to use django-modeltranslation's If possible I suggest you subclass |
@dmarcelino I'm currently on 0.8.
|
Cool! |
@dmarcelino Oh sorry I updated the answer, it was not resolved after all. |
Can you please expand on this or send a screenshot? |
@dmarcelino In the wagtail edit page of an Image (e.g. localhost:8000/wagtailadmin/images/42/), I'd expect there to be several |
I see now, sounds like something is not working properly when patching the Image Panel. I haven't done much work in that area unfortunately. @DiogoMarques29, any thoughts? |
Hello @jorenham and @dmarcelino Alternatively, you can register the FK field to image in your page and that will work. The downside is that you have to replicate the image model for each language you have installed. |
Any plans on implementing this? |
I have my
translation.py
setup like this:However when running
makemigrations
andmigrate
nothing happens and Django starts complaining:no such column: wagtailimages_image.title_nl
I have added
'wagtail_modeltranslation.makemigrations'
to myINSTALLED_APPS
.Am I missing something?
The text was updated successfully, but these errors were encountered: