Hello there
I am trying to build an application for batch-importing TMX files. It seems like the ExistingTUsUpdateMode property is not working properly. Regardless of whether I select Overwrite,
LeaveUnchanged, etc. TUs with alternate translations are added, i.e. AddNew seems to be used. Existing TUs are never overwritten or left unchanged.
The deprecated property import.ImportSettings.OverwriteExistingTUs is still working.
See sample code below:
Thank you for looking into this.
Ziad
FileBasedTranslationMemory tm = new FileBasedTranslationMemory("C:\\temp\\test.sdltm");
TranslationMemoryImporter import = new TranslationMemoryImporter();
import.ImportSettings.ExistingTUsUpdateMode = ImportSettings.TUUpdateMode.Overwrite;
import.TranslationMemoryLanguageDirection = tm.LanguageDirection;
import.Import("C:\\temp\\test.tmx");