Skip to content

Uppercase acronyms pluralise with uppercase “S” (e.g. "CD" → "CDS") instead of lowercase “s”. (CDs) #56932

@jezmck

Description

@jezmck

Laravel Version

10.48.29

PHP Version

8.3

Database Driver & Version

NA

Description

Illuminate\Support\Pluralizer pluralises all-uppercase words by appending an uppercase S, producing incorrect results.

Examples:

use Illuminate\Support\Pluralizer;
echo Pluralizer::plural('CD');   // outputs "CDS" (wrong, should be CDs)
echo Pluralizer::plural('DVD');  // outputs "DVDS" (wrong, should be DVDs)

Why this is a bug:
• Standard English usage pluralises acronyms with a lowercase s.
• Examples in common dictionaries and style guides: CDs, DVDs, URLs, not CDS, DVDS, URLS.
• The current behaviour produces grammatically incorrect results in real-world applications.

Steps To Reproduce

use Illuminate\Support\Pluralizer;
echo Pluralizer::plural('CD');  // outputs "CDS" (wrong, should be CDs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions