dotnet / dotnet/ResXResourceManager
Mark machine translations as "Needs Review"
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 251
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
# Feature Request: Mark machine translations as "Needs Review"
## Background
ResXManager already supports `TranslationState` with the values:
* `New`
* `NeedsReview`
* `Approved`
This state is already persisted and used throughout the application (including XLIFF import/export).
Currently, machine translations can optionally be prefixed (for example `#TODO#_`) potentially to indicate that they require human review.
## Problem
Using a text prefix makes it difficult to generate a clean review package for translators because the workflow becomes:
* Machine translate
* Export
* Remove the prefix
* Filter only prefixed entries
* Remove already-reviewed entries
This mixes workflow state with the actual translation text.
## Proposal
Add an optional configuration setting:
**Mark machine translations as "Needs Review"**
When enabled, machine-translated entries would have their `TranslationState` set to `NeedsReview` instead of relying solely on a text prefix.
This would allow users to filter/export entries requiring review using the existing translation state infrastructure while remaining fully backward compatible with the current prefix-based workflow.
I'd be happy to implement this if the approach aligns with the project's direction.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the machine-translation workflow and its configuration entry points, then trace how TranslationState and the existing text-prefix behavior are handled. Confirm how XLIFF import/export uses the state. Done means an optional setting marks machine-translated entries as NeedsReview while preserving the existing prefix-based workflow and backward compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100