While importing a custom XLIFF file type , I am setting the segment state in code with these lines:
pair.TranslationOrigin.MatchPercent = Convert.ToByte(matchQualityDouble);
pair.TranslationOrigin.OriginType = DefaultTranslationOrigin.TranslationMemory;
but the Reports are not updated for the ranges of the MatchPercent. Adding this line:
pair.TranslationOrigin.TextContextMatchLevel = TextContextMatchLevel.Source;
doesn’t fix it either.
What is the correct way to set these values for them to be updated in the Reports window?