Skip to content

Implement Russian pluralization using Intl.PluralRules#4

Merged
netangel merged 1 commit intomainfrom
claude/intl-pluralization-russian-01LV3VdKbGSpZw5jSNL3VcAq
Nov 16, 2025
Merged

Implement Russian pluralization using Intl.PluralRules#4
netangel merged 1 commit intomainfrom
claude/intl-pluralization-russian-01LV3VdKbGSpZw5jSNL3VcAq

Conversation

@netangel
Copy link
Owner

Add proper Russian pluralization support using JavaScript's Intl.PluralRules API, which correctly handles Russian grammar rules for "one, few, many, other" categories.

Changes:

  • Create pluralization.js utility using Intl.PluralRules for Russian language
  • Update index.html to use data attributes for dynamic pluralization
  • Include pluralization script in base.html
  • Fix incorrect pluralization logic (was showing "чертеж" for multiple items)

The system now correctly renders:

  • 1 чертеж (one)
  • 2, 3, 4 чертежа (few)
  • 5+ чертежей (many)

Add proper Russian pluralization support using JavaScript's Intl.PluralRules API,
which correctly handles Russian grammar rules for "one, few, many, other" categories.

Changes:
- Create pluralization.js utility using Intl.PluralRules for Russian language
- Update index.html to use data attributes for dynamic pluralization
- Include pluralization script in base.html
- Fix incorrect pluralization logic (was showing "чертеж" for multiple items)

The system now correctly renders:
- 1 чертеж (one)
- 2, 3, 4 чертежа (few)
- 5+ чертежей (many)
@netangel netangel merged commit ad3f1d0 into main Nov 16, 2025
6 checks passed
@netangel netangel deleted the claude/intl-pluralization-russian-01LV3VdKbGSpZw5jSNL3VcAq branch November 16, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants