Import functionality destination not getting updated

Working using SDL Passolo 2016.

Input is LPU file.

Done Export functionality on LPU and genera

We are provided with LPUs and we export it to 4 language specific Tbulics

Then after updating the translation string in tbulics we are importing it to LPU.

During import source file path are not getting updated in LPU, hence files are not getting generated at correct location.

Attached screenshot of the LPU.

Screenshot of SDL Passolo 2016 with an LPU file open. The source file path highlighted in blue is correct. The destination path for the translated file, highlighted in red, is incorrect and should point to 'PROJECTS..' instead of 'PRODUCT TEMPLATE..'. The LPU file location path in black is correct, located in 'PROJECTS..'.

 

The file path depicted in blue line shows the source file on which translation will happen and the path is correct.

The file path depicted in red line shows the destination path of the translated file and instead of "PRODUCT TEMPLATE/.." it should be "PROJECTS/..". Here the path is not getting updated.

The file path depicted in black colour shows LPU file location and the path is correct since it is in "PROJECTS/.." folder and the translated file path destination should be corresponding to it.

Here the LPU is copied to destination folder but the file path is not getting updated and getting generated in source folder path.

 

Could anyone please look into it as I need it urgently in my project. Please let me know if any more clarity is required.



Generated Image Alt-Text
[edited by: RWS Community AI at 3:14 PM (GMT 0) on 14 Nov 2024]
emoji
Parents Reply Children
  • Thanks Markus. As suggested by the link I updated .NET framework still no positive outcome.

    I also added errorOut = app.GetLastOutput() to check why updating target path is failing using transList.Update().

    The error statement "Updating Translation List - <filename>\nERROR - Cannot update a string list that is currently exported."

    Below is the automation code for better understanding:

    PassoloU.PslTransList transList = pslProject.TransLists.Item(i, langPrimaryCode);
    short langID = transList.Language.LangID;
    transList.Open();
    transList.SetTargetPathRule(targetPathRuleID, true, targetPath); //targetPathRuleID is being set to .NET
    transList.ScanTargetFile(targetPath, langID);
    retValue = transList.Update();

    var errorOut = app.GetLastOutput(); // "Updating Translation List - <filename>\nERROR - Cannot update a string list that is currently exported."

    We can't un-export the file because it will loose all the change. Please let me know what change need to be done to successfully update target path.