I’m considering making a PR to add an optional “zero” argument to the pluralize text helper. This would allow you to set an alternative word for 0 (zero) when the count is zero. This is especially useful in cases where a more human “You have no bookmarks.” is preferred over “You have 0 bookmarks.”)
Since this would be a named parameter, I don’t think it would negatively affect any existing code.
pluralize(0, “bookmark”, zero: “no”)
=> “no bookmarks”
Here’s the code I have so far: https://github.com/marckohlbrugge/rails/commit/b939907824a74510adfa3d8f68c24a61a74a7758
Is it worth making an official PR for this?