Opened 17 years ago
Closed 15 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:
- Do this.
- Don't do what we said in 1. Do this.
So I've merged them to remove the confusion. See attached.
Attachments (1)
Change History (4)
by , 17 years ago
comment:1 by , 17 years ago
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
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 , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
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.
i18n_LANGUAGES_ugettext