Code

Opened 7 years ago

Closed 4 years ago

#5684 closed (invalid)

i18n settings file -- fixing awkwardness

Reported by: gsf Owned by: mtredinnick
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: UI/UX:

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

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by gsf

i18n_LANGUAGES_ugettext

comment:1 Changed 6 years ago by durdinator

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement set
  • Triage Stage changed from Unreviewed to 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 Changed 6 years ago by mtredinnick

  • Owner changed from nobody to mtredinnick
  • Status changed from new to assigned

comment:3 Changed 4 years ago by Rupe

  • Resolution set to invalid
  • Status changed from assigned to 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.