On Jan 5, 9:24 pm, 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. > Here's a snippet I wrote a while back you may want to check out too: www.djangosnippets.org/snippets/1519/
-- 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.