Skip to content

jansolar/trados-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. If there are NO already translated texts:

  2. in TRADOS : copy all source to target + save.

  3. copy the sdlxliff file to the trados-tools directory as "trados.sdlxliff" C:\Users\Solar\OneDrive\Dokumenty\Studio 2021\Projects C:\Users\janso\PROJECTS\trados-tools

  4. execute perl ex.pl trados.sdlxliff

  5. ... files trados-source and trados-target.txt will be created

  6. create a word file from trados-target.txt

  7. translate the word file with deeple (make sure the word file has less than 100,000 characters)

  8. copy the translated text back to trados-target.txt

  9. verify the inconsistencies in trados-target.txt using "perl verify.pl" and fix all errors

  10. inject the target file back using "perl in.pl trados.sdlxliff"

  11. If there are NO already translated texts, with API:

  12. in TRADOS : copy all source to target + save.

  13. copy the sdlxliff file to the trados-tools directory as "trados.sdlxliff" C:\Users\Solar\OneDrive\Dokumenty\Studio 2021\Projects C:\Users\janso\PROJECTS\trados-tools

  14. execute perl ex.pl trados.sdlxliff

  15. ... files trados-source and trados-target.txt will be created

  16. execute perl translate.pl

  17. ... files trados-translated.txt will be created

  18. copy the trados-translated.txt to trados-target.txt

  19. verify the inconsistencies in trados-target.txt using "perl verify.pl" and fix all errors

  20. inject the target file back using "perl in.pl trados.sdlxliff"

  21. If there are already some translated texts:

  22. copy the sdlxliff file to the trados-tools directory as "trados.sdlxliff"

  23. execute perl ex.pl trados.sdlxliff

  24. ... files trados-source and trados-target.txt will be created

  25. rename trados-target.txt to trados-target-czech.txt

  26. Go back to TRADOS and do: copy all source to target + save

  27. copy the sdlxliff file to the trados-tools directory as "trados.sdlxliff"

  28. execute perl ex.pl trados.sdlxliff

  29. files trados-source and trados-target.txt will be created

  30. split the trados-target.txt using the czech file: "perl split.pl" - trados-target-split.txt is created

  31. create a word file from trados-target-split.txt

  32. translate the word file with deeple (make sure the word file has less than 100,000 characters)

  33. copy the translated text back to trados-target-split-translated.txt

  34. merge the files (trados-target-split-translated.txt and trados-target-czech.txt) using "perl merge.pl"

  35. (trados-target.txt is created from the merge) (WARNING: possible bug in merge - may not copy the last line!!!)

  36. inject the target file back using "perl in.pl trados.sdlxliff"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages