Opened 17 years ago

Closed 14 years ago

#5684 closed (invalid)

i18n settings file -- fixing awkwardness

Reported by: Gabriel Farrell Owned by: Malcolm Tredinnick
Component: Documentation Version: dev
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

Description

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 17 years ago.
i18n_LANGUAGES_ugettext

Download all attachments as: .zip

Change History (4)

by Gabriel Farrell, 17 years ago

Attachment: i18n.diff added

i18n_LANGUAGES_ugettext

comment:1 by durdinator, 17 years ago

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 by Malcolm Tredinnick, 16 years ago

Owner: changed from nobody to Malcolm Tredinnick
Status: newassigned

comment:3 by Joshua Russo, 14 years ago

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