Open GoogleCodeExporter opened 8 years ago
So either we have another boolean flag, "include-tmx-in-response" (etc), or we
have translate-native-formats and translate-native-formats-return-tmx?
Splitting the tasks seems clumsy, but I would be ok with it either way.
Original comment by micah...@gmail.com
on 30 Mar 2012 at 1:34
Right. I've been steadfastly opposing suggestions to add top-level flags like
include-tmx-in-response. The other way to handle it would be to let the task
type specify some set of parameters like this:
<Task>
<TaskType>http://interoperability-now.org/TIPP/schema/tasks/v1/translate-strict-bitext</TaskType>
<SourceLanguage>en-US</SourceLanguage>
<TargetLanguage>fr-FR</TargetLanguage>
<Argument name="include-tmx-in-response" value="true" />
</Task>
Then the task type definition can specify what (if any) argument name/value
pairs are allowed.
This is equivalent to just forcing all the tasks to be enumerated, it's just
more concise.
At this point, I am tempted to just split the tasks.
Original comment by tingley
on 30 Mar 2012 at 5:21
Original issue reported on code.google.com by
tingley
on 30 Mar 2012 at 4:18