Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#15830 closed Bug (fixed)

Document i18n of localflavor

Reported by: Fidel Ramos Owned by: Fidel Ramos
Component: Documentation Version: dev
Severity: Normal Keywords: localflavor i18n
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Attachments (1)

doc_localflavor_i18n.diff (949 bytes ) - added by Fidel Ramos 13 years ago.
Patch to docs/ref/contrib/localflavor.txt in r16026

Download all attachments as: .zip

Change History (6)

by Fidel Ramos, 13 years ago

Attachment: doc_localflavor_i18n.diff added

Patch to docs/ref/contrib/localflavor.txt in r16026

comment:1 by Fidel Ramos, 13 years ago

BTW I think the documentation should be updated both for trunk and in the 1.3 branch.

comment:2 by Carl Meyer, 13 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:3 by Jannis Leidel, 13 years ago

Easy pickings: unset
Triage Stage: AcceptedReady for checkin

comment:4 by Simon Meers, 13 years ago

Resolution: fixed
Status: newclosed

In [16109]:

Fixed #15830 -- Add documentation regarding localflavor i18n. Thanks framos.

comment:5 by Simon Meers, 13 years ago

In [16110]:

[1.3.X] Fixed #15830 -- Add documentation regarding localflavor i18n. Thanks framos.

Backport of r16109 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top