Hi,
I try to export TUs from a GS2017 TM like this:
var exp = new TranslationMemoryExporter(tmld);
exp.BatchExported += ((sender, e) =>
{
OnCurrentTuChanged(e.TotalProcessed);
});
exp.Export(tmxPath, true);
But the result TMX file contains 0 TUs, though, the TM language direction contains ~ 6k TUs.
The same code with a GS2015 server works (Same Studio 2017 instance). If I export the TM in the Studio GUI, then I receive TUs in the TMX.
Probably related:
var ri = new RegularIterator( );
ri.MaxScan = 1000;
var tus = tmld.GetTranslationUnits(ref ri);
=> after this call, ri.ScannedTranslationUnits equals to 0, though, tus contains items.
(Repeating this on GS2015 results ScannedTranslationUnits=1000)
Do you have an idea how to fix / workaround this problem?
(GS version: 14.0.5094.4)
Thanks,
Tamas