Skip to content

Add translation completeness diagnostics - #69

Merged
rudyhuyn merged 1 commit into
mainfrom
user/ruhuynva/add-translation-checks
Aug 22, 2026
Merged

Add translation completeness diagnostics#69
rudyhuyn merged 1 commit into
mainfrom
user/ruhuynva/add-translation-checks

Conversation

@rudyhuyn

Copy link
Copy Markdown
Collaborator

Summary

  • add cross-language completeness and drift diagnostics for default-only, translation-only, unchanged, and variant-shaped resources
  • add ReswPlusTranslationChecks=Off|Default|Strict with development-friendly defaults and strict CI escalation
  • preserve language-specific plural categories while validating required plural and variant output
  • document configuration, severity policy, opt-out behavior, and .editorconfig overrides

Validation

  • dotnet test tests\ReswPlusUnitTests\ReswPlusUnitTests.csproj --no-restore --verbosity quiet (1,415 passed)
  • dotnet build src\ReswPlus.SourceGenerator\ReswPlus.SourceGenerator.csproj --configuration Release --no-restore --verbosity quiet

- compare default and translated resource members with safe plural and variant handling

- support Off, Default, and Strict severity policies

- document configuration and cover analyzer behavior with focused tests

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rudyhuyn
rudyhuyn marked this pull request as ready for review August 22, 2026 09:44
@rudyhuyn
rudyhuyn merged commit abe5a93 into main Aug 22, 2026
5 checks passed
@rudyhuyn
rudyhuyn deleted the user/ruhuynva/add-translation-checks branch August 22, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant