Resource doc =
translationFileServiceImpl.parseUpdatedPotFile(
sourceFileUpload.getFileContents(), docId,
sourceFileUpload.getFileName(), useOfflinePo);
doc.setLang(new LocaleId(sourceFileUpload.getSourceLang()));
// TODO Copy Trans values
documentServiceImpl.saveDocument(projectSlug, versionSlug, doc,
new StringSet(ExtensionType.GetText.toString()), false);