Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20335 closed New feature (fixed)

Document the {% language %} template tag

Reported by: Baptiste Mispelon Owned by: Daniele Procida
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

Change History (6)

comment:1 Changed 3 years ago by Claude Paroz

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 3 years ago by Daniele Procida

Owner: changed from nobody to Daniele Procida
Status: newassigned

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 3 years ago by djangsters

Cc: djangsters added

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

comment:4 Changed 3 years ago by Aymeric Augustin

Has patch: set

comment:5 Changed 3 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: assignedclosed

In 96cabba80805ddda9c48307cb3d75177dc94ba29:

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

Thanks bmispelon for the suggestion and djangsters for the patch.

comment:6 Changed 3 years 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

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