Skip to content

Fix French plural rules for million counts#381

Open
martynchamberlin wants to merge 1 commit into
willdurand:masterfrom
martynchamberlin:MC/fix-french-plural-million-rules
Open

Fix French plural rules for million counts#381
martynchamberlin wants to merge 1 commit into
willdurand:masterfrom
martynchamberlin:MC/fix-french-plural-million-rules

Conversation

@martynchamberlin
Copy link
Copy Markdown

Summary

  • Fix French standard plural selection to support CLDR one/many/other categories in classic transChoice pipe-separated messages.
  • Select the many form for nonzero exact multiples of 1,000,000, keep 0/1 on the one form, and use the other form for all remaining counts.
  • Add a focused regression test covering 0, 1, 2, 999999, 1000000, 1000001, and 2000000.
  • Rebuild the minified translator bundle.

Fixes #334.

Tests

  • npm test
  • npm run build
  • git diff --check

@martynchamberlin martynchamberlin marked this pull request as ready for review May 28, 2026 00:20
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.

New form of french pluralization

1 participant