Opened 4 months ago

Last modified 4 weeks ago

#30585 new New feature

Add support for "translate" and "blocktranslate" tags.

Reported by: Mike Hansen Owned by: nobody
Component: Internationalization Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


We'd like to add aliases for the trans and blocktrans template tags which do not have connotations to the transgender community. An initial proposal would be to add translate and blocktranslate as aliases.

I've created as a starting point with a focus on minimizing changes to the Django code initially. Depending on people's thoughts, we're happy to do the work if people would prefer these to be the defaults throughout the codebase.

Change History (7)

comment:1 Changed 4 months ago by Claude Paroz

Resolution: wontfix
Status: newclosed

I really don't see what negativity does the current trans tag bring. I would have understand if the trans template tag function was in any way related to human gender thematic. In this case, it's just some random synonymity without any bad connotation, in my opinion.
If you disagree, you may discuss it on the django-developers mailing list first.

comment:2 Changed 3 months ago by Aymeric Augustin

Well, it isn't too hard to imagine the mental associations created by "block trans" for someone who identifies as "trans", even if it's just a synonym.

comment:3 Changed 3 months ago by James Pic

Did you consider "translateblock" over "blocktranslate" ?

Last edited 3 months ago by James Pic (previous) (diff)

comment:4 Changed 3 months ago by Claude Paroz

Resolution: wontfix
Status: closednew
Triage Stage: UnreviewedAccepted

Thanks for the effort you made by bringing the subject on the discussion list. Looks like there is good support for this idea.
Only the blocktranslate vs translateblock variant looks still undecided.

comment:5 Changed 3 months ago by felixxm

Has patch: unset
Summary: Add support for "translate" and "blocktranslate" tagsAdd support for "translate" and "blocktranslate" tags.
Version: 2.2master

comment:6 Changed 4 weeks ago by Mike Hansen

I've added a pull request at which switches to these by default (but still maintains support for the previous ones). I think that blocktranslate is better as that is closer to what people will be looking for if they are familiar with the blocktrans tag.

comment:7 Changed 4 weeks ago by felixxm

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