Daniel Torregrosa <[email protected]> writes: > Hi all. > > Does /translate support multiple strings to be translated on the same > request? With ScaleMT you could append multiple &q parameters. But > with APY I am only getting the translation of the first string. > > The wiki states > > To be consistent with ScaleMT, the returned JS Object contains a > responseData key with an JS Object that has key translatedText that > contains the translated text. > > do the similarities end there?
Yes; I don't think Sushain nor I had noticed that ScaleMT supported multiple &q's. You could of course add your own separator if you wish to avoid multiple requests, though perhaps you've run into problems with that method? (I can imagine the separator could be moved around by transfer rules, at least if there isn't any punctuation.) I've added http://sourceforge.net/p/apertium/tickets/72/ , not sure how much of a mess it is to implement. -- Kevin Brubeck Unhammer GPG: 0x766AC60C
signature.asc
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
