﻿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
29587	"Problem with ""Plural-forms"" generated in PO file for Haitian Language"	Ed Menendez	nobody	"When you makemessages for locale=ht (Haitian language), it generates a plural-form like this:

{{{""Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n""}}}

It should instead look like this:

{{{""Plural-Forms: nplurals=2; plural=(n != 1);\n""}}}

The workaround is to manually edit the PO file after generation. If you try to use the incorrect PO file it will generate this error:

{{{ValueError: ""invalid token in plural form"": EXPRESSION}}}
"	Bug	closed	Uncategorized	1.11	Normal	invalid	i18n, haitian		Unreviewed	0	0	0	0	0	0
