Page tree

Versions Compared

Key

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

...

Example of the config file for the file system-based import. This file is located under "config" folder inside the TermImport plugin.

TermCollections, that do not exist, will be created by the import.

Code Block
;import directory of the tbx files
 importDir=/var/www/translate5/data/import/tbx/;
;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;

...

Example of the config file for the file crossapi-based import. This file is located under "config" folder inside the TermImport plugin.

TermCollections, that do not exist, will be created by the import.

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

;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;

...