﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36681	blocktranslate count plural example does not work for all languages (e.g. French 0 case)	Sarah Boyce	Varun Kasyap Pentamaraju	"https://docs.djangoproject.com/en/5.2/topics/i18n/translation/#blocktranslate-template-tag

In the blocktranslate docs, there is the following example:

{{{
{% blocktranslate count counter=list|length %}
There is only one {{ name }} object.
{% plural %}
There are {{ counter }} {{ name }} objects.
{% endblocktranslate %}
}}}

If `list` can be empty, the 0 case (which is plural in English) is not plural in all languages. 0 cats, 1 cat, 2 cats, 3 cats is 0 chat, 1 chat, 2 chats, 3 chats in French (notice that 0 is singular). 
This means that the 0 case would say the French translation of `There is only one {{ name }} object.` as 0 is singular in French (and this would be a bug).

I believe the example should be updated to something like:
{{{
{% blocktranslate count counter=list|length %}
There is {{ counter }} {{ name }} object.
{% plural %}
There are {{ counter }} {{ name }} objects.
{% endblocktranslate %}
}}}
which would not lead to this issue. 

Optionally we could add an admonition about plurals in different languages and that folks shouldn't assume that pluralization works the same as in English"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
