Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
;;;; ATTENTION: the below variables need to be placed above the areas [FileMapping] and [CollectionMapping]

;import directory of the tbx files
importDir=/var/www/translate5/data/tbx-import/filesystem/;

;mergeTerms: Allowed values: true or false. 
;If this is true, terms will be merged as described at https://confluence.translate5.net/display/TAD/Term+Collection. 
;Otherwise all terms will be added to the termCollection, if the ID in the TBX does NOT exist already in the DB
;when the ID of the termEntry of the TBX does already exist in the DB, the terms of this termEntry will always be merged
mergeTerms=true;

;Deletes all terms in all listed termCollections, that have a modificationupdated date older than the date listed one.
;Since everyconfigured for "deleteTermsModifiedOlderThan". 
;Every term that exists in a TBXtermCollection getshas a newcreation updated date, on TBX-import, even if it is not changed: Simply set this date to yesterday to delete all terms, that are not part of the current importa modification date and an updated dated. 
;The creation date and the modification date are taken from the dates as they appear in the TBX file.
;The updated date is anot dateshown internalin tothe translate5GUI and differentis changed fromevery thetime modifieda dateuser ofchanges the term, that is shownthrough touching
;it in the interface GUI or through an import
deleteTermsModifiedOlderThan=2018-05-01

;Deletes all terms in all listed termCollections, that have aan modification"updated date" older than the start of the current import.
;To learn, what the "updated date" is, please read above
;possible values: true or false
deleteTermsOlderThanCurrentImport=true

;Delete all proposals in a listed termCollections, that have a creation date older than this configs value.
deleteProposalsOlderThan=2018-05-01

;Delete all proposals in a listed termCollections, that have a creation date older than the start of the current import.
;possible values: true or false
deleteProposalsOlderThanCurrentImport=false

;;;; ATTENTION: the above variables need to be placed above the areas [FileMapping] and [CollectionMapping]
 
;mapping between tbx file and term collection name
[FileMapping]
Term.tbx=exampletermCollection;
Term1.tbx=exampletermCollection;
Term2.tbx=exampletermCollection;
example2.tbx=exampletermCollection2;
example3.tbx=exampletermCollection3

;mapping between term collection name and customer number
[CollectionMapping]
exampletermCollection3=1000;
exampletermCollection2=1003;

...