SDL Trados Studio integration

pr-welcome

#1

To make your new system available for practical use among the translator community, integration with SDL Trados Studio would be the way to go.


(srush) #2

Interesting idea. Do they have an api?


#3

They sure have. You can find the necessary information here:

http://appstore.sdl.com/developers/


(Vincent Nguyen) #4

For sure it would be a really cool stuff.
There are two points:

  1. we need to create a plugin (.net knowledge required) as a matter of fact there are existing plugins similar to this (mymemory, teminotix, …)
  2. you need a REST API layer on top of openNMT to expose the engine to the plugin.

If you want an example of similar RESTAPI, you can have a look at MMT.


Compatible one would be even better …


(srush) #5

Note that we do have a working ZeroMQ server implementation now checked in

It is a bit more low-level than REST. But it basically implements this REST call (https://github.com/ModernMT/MMT/wiki/API-Documentation#translate-text)

You could easily call this using the ZeroMQ .net library.

I don’t have access to Trados/.NET but happy to answer any questions.


(Vincent Nguyen) #6

OKAY,
it becomes a little off topic now but if we really want something that works in a real world here is what is required:

SDL plugin: it acts as a translation memory provider, which means you can pick an “engine” which encompasses a language pair. egs: in the plugin settings you can chooses FR=>EN or EN=>ZH
Then the plugin will call a REST layer including the langue pair.
That Layer will call you zeromq 1 (for EN=>FR) or zeromq 2 (for EN=>ZH)

Bottom line:
For the SDL Plugin, we can provide some input.
For the REST Layer: 2 choices: either you want to remain in the lua environment, someone will have to do that.
either this can be done in another language like nodejs and we may help.

any insight ?


(srush) #7

I don’t think it is necessary for the server to be in Lua. Feel free to use whatever language is easiest.

Explain to me why the plugin cannot just call the current server1 or 2 directly, is Trados limited to HTTP calls? I’m happy to add an http/rest option to the opennmt server if that is helpful.


(Vincent Nguyen) #8

Everything is possible as you know BUT don’t forget that the SDL plugin is 100% end-user oriented.

The end-user wants to know one thing: a URL+port, a language pair.

If we put too much settings in the plugin, it won’t be usable by anyone (end-user or IT guys @end-user)

A multi-lingual REST layer is needed in my view.
We have started one, along with the SDL plugin, which communicate with the ModernMT back end.

I think there an added-value to be compatible with some other existing systems.

Only issue I see, it may really overlap with some stuff taht the Systran folks do on their end.


(srush) #9

Great! I’m pretty terrible at end-user stuff. Let me know if anything in the backend needs to change :slight_smile:


(Vincent Nguyen) #10

after a second thought, here is what makes the more sense:

We create a github repo on our end with 2 items:

  1. the sdl plugin
  2. the multilingual REST Layer, which can be configured to connect either an OpenNMT REST API or the existing ModernMT REST API

this makes everything flexible. So yes if you have a resource to add the rest option to opennmt that would be great.


(Guillaume Klein) #13

A post was split to a new topic: Error when starting the translation server


(Mohamed Zeid) #14

Do we have a plugin for SDL now? Is this something in the works?

@vince62s You mentioned that you have started a multilingual REST layer which communicates with ModernMT back end. Is this available? Will you make it open-source?

Thanks in advance!


(Panos Kanavos) #15

I have created a plugin for SDL Trados Studio that works with the rest_translation_server. Pretty simple at first as it only accepts the server address and the port, but it works. Is there still interest for this or anything fancy is coming from OpenNMT/Systran :slight_smile: ?


(jean.senellart) #16

Hi @panosk - we actually do have a plugin but a bit too fancy to share because it comes with a lot of extra layers. It would be great to share yours with the community. I created a repository OpenNMT/plugins and will be glad to review a PR there.


(Terence Lewis) #17

I have also put a plugin in the SDL appstore (: http://appstore.sdl.com/app/mydutchpal-neural-mt-plugin-for-sdl-trados/633/.). It’s geared to send strings through an intermediate server for pre-processing before arriving at the rest_translation_server. However, if there’s interest we could adapt it to be available for general use.


(Vincent Nguyen) #18

I guess we’re all in the same situation where it requires adaptation with some extra layers, quite difficult to generalize for each scenario. That was the reason why I gave up after suggesting it in this thread.


(Panos Kanavos) #19

As I said the plugin is very simple and I created it within a day for personal use. With that said, a translator only needs to actually receive translations for their project/language pair, so in that sense it is (almost) ready for personal, real-life use. Now, for fancier things, like choosing language pairs/models, etc, or for large companies with many translators/language pairs, I think there’s not much that can be done right now in the front-end because the server doesn’t expose this information.

Anyway, I don’t use often Visual Studio/.NET/C#, so this simple plugin could serve as a starting point so others can contribute and do nice things as OpenNMT and its servers evolve.

Btw, the plugin is developed based on Trados 2014 APIs.


(jean.senellart) #20

@panosk - thanks for submitting the code. I would like to set the license for the full repository to MIT like the rest of the OpenNMT project - is it ok for you? If you wish, you might want to add a specific license MIT disclaimer with your name in the repository like here: https://opensource.org/licenses/MIT


(Panos Kanavos) #21

Hello @jean.senellart,

Sure, no problem with the license.


(Mohamed Zeid) #22

Hi Terence, do you think you can share with us your SDL plugin? I believe this will be a great addition to OpenNMT. Thanks in advance!