#Translating template texts - did {% trans %} become {% translate %} in Django 5?

1 messages · Page 1 of 1 (latest)

blissful night
#

All the online docs, books etc talk about {% trans "my text" %} but the Django 5 doc gives us {% translate "my text" %} and {% blocktranslate %}

And, funnily enough, I have been using {% trans "my text" %} with Django 5.0.1 and it seems to be working...

abstract mortar
#

Actually it was in Django 3.1

#

I don't see notice of trans alias being removed though, but anyway, better to stick with what official docs suggest