Document i18n of localflavor
|Reported by:||framos||Owned by:||framos|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
django.contrib.localflavor has its own catalog of translations, but it's not loaded automatically like the main django catalog in django/conf/locale/. django.contrib.localflavor must be added to INSTALLED_APPS for the catalog to be loaded.
This behaviour should be documented in the localflavor documentation, because localflavor's functionality (mainly form fields) doesn't require the app to be in INSTALLED_APPS. In addition, users may expect these translations to be automatically available, being localflavor a part of Django.
I include a patch for docs/ref/contrib/localflavor.txt explaining this.
See also this thread in django-developers.
Change History (6)
Changed 5 years ago by framos
comment:1 Changed 5 years ago by framos
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 5 years ago by carljm
- Triage Stage changed from Unreviewed to Accepted
- Type changed from Uncategorized to Bug
comment:3 Changed 5 years ago by jezdez
- Easy pickings unset
- Triage Stage changed from Accepted to Ready for checkin