Skip to content

feat: complete locale translation parity across all 52 resource sets#1688

Open
clairernovotny wants to merge 244 commits intomainfrom
codex/locale-translation-completion
Open

feat: complete locale translation parity across all 52 resource sets#1688
clairernovotny wants to merge 244 commits intomainfrom
codex/locale-translation-completion

Conversation

@clairernovotny
Copy link
Copy Markdown
Member

@clairernovotny clairernovotny commented Mar 15, 2026

Summary

  • complete locale translation parity across all 52 Resources*.resx sets in the repo
  • add and update locale-specific tests so the completed wording and fallback behavior are covered across the locale matrix
  • include the Norwegian Bokmal ByteSize.ToFullWords() localization path required to complete the locale set end to end

Coverage

  • 52 total resource sets in src/Humanizer/Properties
  • 51 localized resource files plus the neutral base resource

Verification

  • dotnet test --project tests/Humanizer.Tests/Humanizer.Tests.csproj --framework net10.0
  • dotnet test --project tests/Humanizer.Tests/Humanizer.Tests.csproj --framework net8.0
  • dotnet build Humanizer/Humanizer.csproj -c Release /t:PackNuSpecs /p:PackageOutputPath=E:\Dev\Humanizer-locale\artifacts\locale-packages

Notes

  • the PR now contains only the product/resource/test changes needed for the locale completion work
  • generated review, adjudication, plan, and helper artifacts were removed from the branch and are not part of the PR payload

…an, and Turkic families; consolidate profiles and strategies

- Updated MalayNumberToWordsConverter to utilize shared scale-level overrides and removed hardcoded behaviors.
- Enhanced PortugueseNumberToWordsConverter to support explicit billion strategies and refined ordinal handling.
- Refactored ScandinavianNumberToWordsConverter to separate cardinal and ordinal strategies, improving maintainability.
- Consolidated TurkicNumberToWordsConverter to streamline ordinal suffix handling and removed Uzbek-specific implementation, integrating it into the Turkic family.
- Added tests to ensure family-specific behaviors and strategies are preserved across cultures.
…ion-completion

# Conflicts:
#	tests/Humanizer.Tests/Localisation/DefaultFormatterTests.cs
#	tests/Humanizer.Tests/Localisation/LocaleCoverageData.cs
#	tests/Humanizer.Tests/Localisation/LocaleFallbackSweepTests.cs
#	tests/Humanizer.Tests/Localisation/LocaleRegistrySweepTests.cs
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.

3 participants