Page tree


If the API changes in an incompatible manner this is listed explicitly in the "important release notes" section of each releases changelog.

The 'Globalese' pretranslation is triggered automatically on the translate5 import. The translate5 import will finish and the task will be available for usage after the Globalese pretranslation is done(the translated files are downloaded and merged).

Preconditions for the pretranslation to be started are:

  • The Globalese Plug-In must be active
  • the Globalese parameters must be sent to the server.

Save the 'Globalese' project parameters for later usage

URL:editor/plugins_globalesepretranslation_globalese
Available Methods:POST
Specialities:The passed parameters will be saved internally, the 'Globalese' pretranslation process is triggered by event (importWorkerQueued) from the import workflow (task::post)


POST request parameters example(json):

{
"engine":"globalese engine id",
"group":"globalese group id",
"apiUsername":"globalese username",
"apiKey":"globalese api-key"
}

POST request layout

NameTypeInfo
engine
intThe id of the globalese engine
group
intThe id of the globalese group
apiUsername
stringThe username used for globalese api authentication
apiKey
stringThe apiKey used for globalese api authentication



Provides a list with all available groups.

URL:editor/plugins_globalesepretranslation_globalese/groups
Available Methods:GET

Specialities:


GET request parameters example (json):

{
"username":"globalese username",
"apiKey":"globalese api-key"
}


Groups request Layout

NameTypeInfo
username
stringThe username used for globalese api authentication
apiKey
stringThe apiKey used for globalese api authentication


Groups response Layout

NameTypeInfo
idintegerThe id of the group
namestringThe name of the group

Additional info: Only the groups who exist for the authenticated user will be returned.


Provides a list with all available engines.

URL:editor/plugins_globalesepretranslation_globalese/engines
Available Methods:GET
Specialities:-


GET request parameters example (json):

{
"username":"globalese username",
"apiKey":"globalese api-key",
"sourceLang":"5",
"targetLang":"4"
}


Engines request Layout

NameTypeInfo
username
stringThe username used for globalese api authentication
apiKey
stringThe apiKey used for globalese api authentication
sourceLang
intSource language id of the engine that will be searched
targetLang
intTarged language id of the engine that will be searched


Engines response Layout

NameTypeInfo
sourcestring (rfc5646)Source language of the engine
targetstring (rfc5646)Target language of the engine
groupintThe group id where this engine belongs to
idintThe id of the engine
namestringThe name of the engine
statusstringThe status of the engine ('on' or 'trained')




  • No labels