When saving a DOCX file in WorldServer, the error The given key was not present in the dictionary appears either in Browser Workbench or as Autoerror during the Save or Save target task. It also appears as error when trying to export in WSXZ format. |
1- In Explorer, create a subfolder under the source target folder 2- copy the source file to the subfolder, 3- create a subfolder with the same name under the target language folder 4- right-click the subfolder under the target folder and select Properties 5- in the Properties window, change the TM to no TM or use a dummy TM 6- open the source file in Browser Workbench from the subfolder under the source language folder 7- once opened, click Save If it is saved without error, continue with a workaround(s) to Issue #1 since this is probably related to misplaced tags. If it cannot be saved also without TM (or with an empty TM), continue with a workaround for Issue #2 Issue #1 There are 2 possible workarounds. Note: both workarounds below might require linguistic expertise in order to be able to place missing tags in the correct position in the target segment. Workaround #1 (mostly applicable if the file is small. Which larger files, apply workaround #2)
Workaround #2 If the Tasks/files have a high word count, applying Workaround #1 might be very time-consuming and it might be difficult to find the tag issues. Since the Tasks cannot be exported in WSXZ format because the same error would prevent the export, the workaround is to export them in XLIFF format instead.
|
The issue is due to misplaced, missing, or wrong tags in the target segment after Segment Asset or Pretranslate |