#12193: Add details to the 18n documentation for translation of model classes
------------------------------------------+---------------------------------
Reporter:
maxime.p...@bulix.org | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: 1.1
Keywords: i18n | Stage: Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------+---------------------------------
While working on the internationalization of a Django application
recently, I had a hard time finding how to translate a few things used in
model classes : relations and model methods, when used for columns or
fields in the Django admin site.
I finally found the solutions from some random code snippet on the web,
but I think this really belongs to Django's excellent documentation, so
you'll find attached a patch to add a few details on how this is done.
I know there's an i18n documentation refactoring going on in #10260. If my
patch needs to be reworked on top of that refactoring once it's checked
in, please let me know.
--
Ticket URL: <
http://code.djangoproject.com/ticket/12193>
Django <
http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.