Django Code: Add context to trans blocks

16 views
Skip to first unread message

Patrick Robertson

unread,
Aug 29, 2014, 5:19:01 AM8/29/14
to django...@googlegroups.com
Hi all,

Do you have any 'best practices' for translating Django?
It's just come to my attention that in a couple of places, it would be good to add some context to certain translations. I just thought I'd ask to see if you've discussed it before

A good example is the word 'Save' used in the Django admin to save an object to the database (after editing).
In English save has (at least) two meanings, another being to 'save' money. (Buy 2 SAVE $5). This brings up a few complcations when translating the site to languages which use different words for each context.

Would there be any objections to me adding context to these two places and creating a PR?

#: contrib/admin/templates/admin/pagination.html:11
#: contrib/admin/templates/admin/submit_line.html:3

Cheers
Reply all
Reply to author
Forward
0 new messages