To import Lots of tmxs into a tmx

Former Member
Former Member


; You select a SDL Trados Studio TM exported file (.tmx) as a Base(Final/Compiled)_tmx
; You select a Folder which has lots, lots of ".tmx"s inside of it

; Then, this Code copies all the TUs from the folder (in the tmxs) into the Base_tmx
; In its process, it injects SDL TM fields named "origin_File" which shows its origin tmx file name, for all and every TUs

; It does not touch all the TUs in the Base_tmx (at starting stage). So, you'd better use the empty one (or not)
; You do not have anything to worry about SDL TM fields, it is done all automatically 

; Now, you just import a tmx once (the Base_tmx), DONE !!!

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; It does NOT make any kind of BackUps. That is your business, not mine.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

currently it processed "2" tmxs (I do not have thousands of them. Each of them has only one TU within it.)
the name of SDL TM fields is "origin_File"
it shows briefly only the name of tmx it came from (not Path, should be useless)

details

compile thousands TUs into OneFile.zip

Enjoy..