import/add another .sdlppx to Trados project - Automation API

Hello,

I can't find out how to import/add other .sdlppx to Trados project.

Example: 

Client send me more .sdlppx from one Trados project (split project according target language). I need join/merge this .sdlppx to one project.

At first I create project from one package:

ProjectPackageImport packageimport = new ProjectPackageImport();

            FileBasedProject project = FileBasedProject.CreateFromProjectPackage("projectPackageFilePath", "projectFolder" , out  packageimport);

 

How Can I import/add others .sdlppx to project.

 

Thanks a lot for advice.

Vladimír

emoji
Parents Reply
  • Hello Emanuel Albu,

    Thanks for information. I have the same opinion.

    So, it’s mean creates first project from package.

    Then create temporary projects form others .sdlppx or directly read xml of .sdlppx and move data/information (TMs, TBs, references and source file) to project.  But I have concerns when I import source file by “automation Trados API” the files gets different GUID. If GUID will be different, there will be problem with return package for client from this merged project. So maybe I should  copy source files "manually" and move information directly from xml (.sdlppx)  to xml (.sdlproj).

    Do you see a simpler solution?

    Thanks

    Regrads,

    Vladimí

    emoji
Children