TextRuleEngine
ValidatePlaceholders compares source and translated brace tokens, reports unexpected tokens, checks brace balance and validates paired rich-text tags. TMP tags br, page and sprite are treated as self-closing.
List<TextRuleViolation> issues = engine.ValidatePlaceholders(
revision, translatedText, new LocaleId("de"));
CheckGlossary searches configured forbidden variants using each term’s case policy. It does not require the approved term and does not calculate an accuracy score.
GeneratePseudoText accents characters, pads to an expansion factor and can reverse the result with bidi override marks. That option is a layout stress helper, not shaping or language validation.
Run the text rules before approval and before your release gate.
ReleaseGateEvaluatordoes not invoke this service.