MultiTerm Import

Former Member
Former Member

Hi

I'd like to know how can I use "SDL MultiTerm > Termbase Management > Import > Synchronize on Term" check item.

I'm in the middle of testing. Code goes..

Entries myEntries = myTB.Entries;
foreach(string myXMLitem in myXMLitems)
{
    Entry myEntry = myEntries.New(myXMLitem);
    //  myEntry.Merge(someTHING);
}

So far so good, I can import successfully for non_duplicated items.

But, I can not figure out how to manage duplicated items properly (entry Merge).

Just a brief hints/sample_codes should be perfect.

Thanks

[Version 2017]

OR

I just found this kind of codes. But, I can not handle it properly.

ImportDefinition myImportDefinition = myImportDefinitions[2];     // Synchronize on Term
myImportDefinition.ProcessImport(MtTaskType.mtScript, "English", "Chinese");

I have a proper XML file and I do not want to use "Wizard"

Thanks

Parents Reply
  • Exactly. I played with termbase export/import and other manipulation about 2 years ago, but found the entire Multiterm API so incredibly buggy and incomplete and not properly documented that I lost interest.

    (plus, I don't work anymore on the project which involved so much fiddling with termbases, so I don't care anymore if the poor people working on the project now die from manual clicking or not...)

    That crippled Multiterm creates/exports XMLs with totally different content that what it expects to be loaded/imported... task types for ProcessImport don't work as expected and documented... awful and unusable stuff... :(

Children
No Data