On Wed, Jan 6, 2010 at 5:24 AM, harrym <harry.m...@gmail.com> wrote: > I'm working a templatetag that determines whether to use 'a' or 'an' > in front of English words. My particular use case for this is in a > tumblelog app I'm developing - many different types of entry may be > added (link, html, quote, etc), and I'm linking to the 'Add a[n] > <type> entry' pages by iterating over the different types. Would this > be considered a useful addition to contrib.humanize? > > The two main reasons against it I see are that firstly, it only works > for English words, so would be of little use to developers using > foreign languages, and secondly, it perhaps wouldn't be as widely used > as the other filters in there.
It sounds like a potentially interesting addition to contrib.humanize, but you have hit both of the objections that I would raise. The foreign language limitation is particularly important - if we're going to introduce a tag like this, then it should be able to be used for languages other than English. If you present some research to demonstrate how this tag could/would work for non-English languages, it would be a lot more compelling. Yours, Russ Magee %-)
-- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.