Page tree

Versions Compared

Key

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

...

Code Block
crossAPIurl=http://win.translate5.net
crossExportFilesDir=/var/www/translate5/data/tbx-import/crossapi/
apiUsername=crossapi.user
apiPassword=pass


;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 termEntries in all listed termCollections, that have a modificationupdated date older than the listed one.
;Since every entry that exists in a TBX gets a new 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 import
;The updated date is a date internal to translate5 and different from the modified date of the term, that is shown in the interface
deleteEntriesModifiedOlderThan=2018-05-01

;Deletes all termEntries in all listed termCollections, that have a modification date older than the the start of the current import.
;possible values: true or false
deleteEntriesOlderThanCurrentImport=true

;Deletes all term proposals older then deleteEntriesModifiedOlderThan date.
;If the deleteEntriesModifiedOlderThan is not set, then the current date will be used
;The current date will be used also when deleteEntriesOlderThanCurrentImport is true
;possible values: true or false
deletProposalsOlderThan=true

;mapping between across export template and term collection
[FileMapping]
template-1.export=exampletermCollection

;mapping between term collection name and customer number
[CollectionMapping]
exampletermCollection3=10001;
exampletermCollection2=10002;
exampletermCollection=123456789;

...