Page tree

Versions Compared

Key

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

...

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;


This api call is only allowed for translate5 authenticated users.

Translate5 does not use a traditional RESTful authentication, but uses sessions for this purpose.

To use the API as an authenticated user, first a session must be generated. More about how to authenticate and use translate5  API at: REST API

API url:

URL:(YOUR_TRANSLATE5_DOMAIN)/editor/plugins_termimport_termimport/filesystem
Available Methods:
POST
GET
Specialities:Start the files-system based term import for the files with location defined in the importDir parameter from the filesystem.config
  • example of the api call where the domain is translate5.net
    http://translate5.net/editor/plugins_termimport_termimport/filesystem