translationWorkspaceManager.tryGetWorkspace(workspaceId);
if (!workspaceOptional.isPresent()) {
return;
}
TransUnitTransformer transUnitTransformer =
serviceLocator.getInstance(TransUnitTransformer.class);
TransUnit transUnit =
transUnitTransformer.transform(textFlow, target,
target.getLocale());
DocumentId documentId =
new DocumentId(document.getId(), document.getDocId());
int wordCount = textFlow.getWordCount().intValue();