-
Notifications
You must be signed in to change notification settings - Fork 19
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
Enable translation of footnotes #64
Enable translation of footnotes #64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple of initial notes in tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of suggestions for tidy up / docs.
The rest makes sense to me
@@ -11,6 +12,10 @@ | |||
path("django-admin/", admin.site.urls), | |||
path("admin/", include(wagtailadmin_urls)), | |||
path("documents/", include(wagtaildocs_urls)), | |||
] | |||
|
|||
urlpatterns += i18n_patterns( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would be good to add a note, or even section in the README about usage with translation
Continuing in #69 |
Adds
TranslatableMixin
to theFootnote
model to allow it to be translatable.