Code

Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#20335 closed New feature (fixed)

Document the {% language %} template tag

Reported by: bmispelon Owned by: EvilDMP
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: djangsters Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The {% language %} template tag is pretty useful but it's currently only mentioned once in the documentation [1]

I think it would be better as a new sub-section of the "Internationalization: in template code" section.

[1] https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#std:templatetag-language

Attachments (0)

Change History (6)

comment:1 Changed 12 months ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 11 months ago by EvilDMP

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

I have tentatively reserved this ticket for first-time committers who take part in the Don't be afraid to commit workshop at the DjangoCon Europe 2013 sprints on 18th and 19th May.

If you want to tackle this ticket before then, please don't let the fact that it's assigned to me stop you. Feel free to re-assign it to yourself and do whatever you like to it.

comment:3 Changed 11 months ago by djangsters

  • Cc djangsters added

I just pushed some docs. See https://github.com/django/django/pull/1115

comment:4 Changed 11 months ago by aaugustin

  • Has patch set

comment:5 Changed 11 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 96cabba80805ddda9c48307cb3d75177dc94ba29:

Fixed #20335 - Documented the {% language %} template tag.

Thanks bmispelon for the suggestion and djangsters for the patch.

comment:6 Changed 11 months ago by Tim Graham <timograham@…>

In df5a8a07fc909e37016889bc1d37c53c90e747c5:

[1.5.x] Fixed #20335 - Documented the {% language %} template tag.

Thanks bmispelon for the suggestion and djangsters for the patch.

Backport of 96cabba808 from master

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.