How to create a return kit?

I would like to create a plugin that allows the user to create a return kit and upload to the server from the Editor View.

What is the best method to access this functionality from the API?

Parents Reply
  • Hi Balázs,

    Yes, the documentation is very poor, so there are a lot of undocumented features.
    However, the Sdl.TranslationStudio.Packaging.Convertors.WorldServer.dll is not marked for public use, so if you try to use it you will get an error when Trados loads your plug-in.

    You may be able to use a workaround though like Eric Bishop mentions, i.e. zip the files yourself.

    You can generate the sdlxliff file to the xliff and then zip it.

    To generate the xliff data, use the RunAutomaticTask function:

    Example:

    project.RunAutomaticTask(projectFileIds, AutomaticTaskTemplateIds.ExportFiles);

     or

    project.RunAutomaticTask(projectFileIds, AutomaticTaskTemplateIds.GenerateTargetTranslations);
Children