In the blueprint section of projects I would like to render below the title an information of how many images that project has. Therefore i would like to use a pluralize function for image. I found that kirby has the I18n::form function to do exactly that, but I don’t know how to use it…
hmmm, ok interesting. But I am not sure if that is that what I was looking for.
Rails has this useful function pluralize which takes a count, and a string (for the singular word), optional a string for a plural version for the word and returns the right word for the corresponding count. https://apidock.com/rails/ActionView/Helpers/TextHelper/pluralize
I thought maybe kirby has such a useful function as well. If you have any Idea, where to add such a function, I might try to submit it as a pull request, if the kirby team is open for that?