src/services/WordsmithService.php
public function pluralize($s, $qty = 2, $locale = 'en') : string
	{
		if (intval($qty) != 1)
		{
			return Inflector::get($locale)->pluralize($s);
		}
		return Inflector::get($locale)->singularize($s);
	}
public function pluralize($s, $qty = 2, $locale = 'en') : string
	{
		if (intval($qty) != 1)
		{
			return Inflector::get($locale)->pluralize($s);
		}
		return Inflector::get($locale)->singularize($s);
	}
Returns the correct singular/plural form of the given word, for the provided quantity and language.

@param $s
@param int $qty
@param string $locale
@return string