hugo/docs/content/en/functions/inflect/Pluralize.md
2023-10-20 09:43:56 +02:00

23 lines
494 B
Markdown

---
title: inflect.Pluralize
linkTitle: pluralize
description: Pluralizes the given word according to a set of common English pluralization rules
categories: [functions]
keywords: []
menu:
docs:
parent: functions
function:
aliases: [pluralize]
returnType: string
signatures: [inflect.Pluralize INPUT]
relatedFunctions:
- inflect.Humanize
- inflect.Pluralize
- inflect.Singularize
aliases: [/functions/pluralize]
---
```go-html-template
{{ "cat" | pluralize }} → "cats"
```