#19160: Make ungettext_lazy really usable --------------------------------------+------------------------------------ Reporter: claudep | Owner: nobody Type: New feature | Status: new Component: Internationalization | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 --------------------------------------+------------------------------------
Comment (by aaugustin): Reviewing the discussion and the patches above, I think Claude nailed the API in 19160-1.diff and Julien the implementation in 19160.smart- ngettext-lazy.diff. I suggest to adapt Julien's patch to Claude's API. For anonymous parameters, I recommend to support only a single integer parameter. If no `number` argument is passed to `ngettext_lazy`, and later on the result is interpolated with a single integer value, that value should be used as the "count". -- Ticket URL: <https://code.djangoproject.com/ticket/19160#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.