In MS Batch Translation Step split batches of 10+ strings into several sub-batches

Issue #516 resolved
YvesS created an issue

In the MS Batch Translation Step, a batch should have 10 string or less, otherwise an error occurs.

We need to modify the call so any batch of more than 10 strings gets sent as several sub-sets of 10 or less strings. Basically to have an inner loop in the batch.

See https://groups.yahoo.com/neo/groups/okapitools/conversations/topics/4445 for details.

Comments (3)

  1. Chase Tingley

    There is also another part of this requirement:

    The total of all texts to be translated must not exceed 10000 characters.
    The maximum number of array elements is 10.
    

    We've had to work around this in the WS adapter as well; arguably it should be in the batchQuery implementation of the connector instead of the step.

  2. Log in to comment