Opened 12 years ago

Closed 9 years ago

#5684 closed (invalid)

i18n settings file -- fixing awkwardness

Reported by: Gabriel Farrell Owned by: Malcolm Tredinnick
Component: Documentation Version: master
Severity: Keywords: i18n settings
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


Under Section 3, "How Django discovers language preference," in the i18n documentation, a couple of points on the LANGUAGES setting read something like:

  1. Do this.
  2. Don't do what we said in 1. Do this.

So I've merged them to remove the confusion. See attached.

Attachments (1)

i18n.diff (2.6 KB) - added by Gabriel Farrell 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Gabriel Farrell

Attachment: i18n.diff added


comment:1 Changed 12 years ago by durdinator

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

This bit about translating the languages is repeated in docs/settings.txt, and it belongs better there rather than here as a long afterthought. Since there's a link to the LANGUAGE setting docs here, how about only keeping the first two sentences of the "Only languages" bullet point, and completely removing the "If you define" bullet point?

The example in docs/settings.txt should also be updated to use a dummy 'ugettext' not 'gettext'.

comment:2 Changed 11 years ago by Malcolm Tredinnick

Owner: changed from nobody to Malcolm Tredinnick
Status: newassigned

comment:3 Changed 9 years ago by Joshua Russo

Resolution: invalid
Status: assignedclosed

This was fixed by another ticket (not sure which one). The current i18n.txt doc (now in \howto\) no longer has the confusing text and just points to the settings docs.

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