-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e-Translate: request source-lang and target-lang pairs #20
Comments
Tilde endpoint now returns list of available systems in json format, which includes information about system IDs, domains, language pairs.
Optional query parameter - 'key' (in order to retrieve private systems). Response example: {
"systems": [
{
"sourceLanguage": {
"Code": "nl",
"Name": {
"Language": "en",
"Text": "Dutch"
}
},
"targetLanguage": {
"Code": "fr",
"Name": {
"Language": "en",
"Text": "French"
}
},
"systemID": "smt-63f939f0-7ebf-4b45-978a-4fa4714c601b",
"domain": "law",
"isPrivate": false,
"status": "standby"
},
{
"sourceLanguage": {
"Code": "en",
"Name": {
"Language": "en",
"Text": "English"
}
},
"targetLanguage": {
"Code": "de",
"Name": {
"Language": "en",
"Text": "German"
}
},
"systemID": "smt-c71f6f22-5e2a-4682-a4cc-2d97d38fac5e",
"domain": "Legal",
"isPrivate": false,
"status": "ready"
} ]
} @jnehring how it would be implemented in FREME server? new endpoint? |
@pheyvaer is this still a requirement? Are you going to use this service? Do we actually need to provide this as a FREME endpoint? Users could call the service directly. |
Yes, for the CKEditor plugin. |
@bgrusdt please implement a new API endpoint for this. |
@pheyvaer how about you request this data directly from tilde? Maybe this is easier then creating a new FREME endpoint for this that merely proxies the data. |
Works also for us :) |
ok then lets do it that way. |
Thanks! moved to freme-project/CKEditor-Plugin#27 :) |
No description provided.
The text was updated successfully, but these errors were encountered: