Modifier and Type | Method and Description |
---|---|
TranslationsResource |
PoReader2.extractTarget(InputSource inputSource)
Extract contents of a PO file and convert to a TranslationsResource.
|
Modifier and Type | Method and Description |
---|---|
void |
PoWriter2.writePo(File baseDir,
Resource doc,
String locale,
TranslationsResource targetDoc)
Deprecated.
|
void |
PoWriter2.writePo(OutputStream stream,
String charset,
Resource doc,
TranslationsResource targetDoc)
Generates a po file from a Resource and a TranslationsResource, writing
it directly to an output stream.
|
FileDetails |
PoWriter2.writePoToFile(File poFile,
Resource doc,
TranslationsResource targetDoc)
Generates a po file from a Resource and a TranslationsResource,
returning FileDetails with the File and its MD5 digest.
|
Modifier and Type | Method and Description |
---|---|
void |
PropReader.extractTarget(TranslationsResource doc,
InputStream in)
Deprecated.
|
void |
PropReader.extractTarget(TranslationsResource doc,
InputStream in,
Resource srcDoc) |
Modifier and Type | Method and Description |
---|---|
TranslationsResource |
XliffReader.extractTarget(File file) |
Modifier and Type | Method and Description |
---|---|
static void |
XliffWriter.write(File baseDir,
Resource doc,
String locale,
TranslationsResource targetDoc,
boolean createSkeletons,
boolean approvedOnly)
Used for writing target file
|
static void |
XliffWriter.writeFile(File file,
Resource doc,
String locale,
TranslationsResource targetDoc,
boolean createSkeletons,
boolean approvedOnly)
Used for writing translation file with given translations map
|
Modifier and Type | Method and Description |
---|---|
List<TranslationsResource> |
PushCommand.splitIntoBatch(TranslationsResource doc,
int maxBatchSize)
Split TranslationsResource into List<TranslationsResource>
according to maxBatchSize, but only if mergeType=AUTO
|
Modifier and Type | Method and Description |
---|---|
List<TranslationsResource> |
PushCommand.splitIntoBatch(TranslationsResource doc,
int maxBatchSize)
Split TranslationsResource into List<TranslationsResource>
according to maxBatchSize, but only if mergeType=AUTO
|
void |
PushCommand.TranslationResourcesVisitor.visit(LocaleMapping locale,
TranslationsResource targetDoc) |
Modifier and Type | Method and Description |
---|---|
TranslationsResource |
LocaleMappedTranslatedDoc.getTranslation() |
Constructor and Description |
---|
LocaleMappedTranslatedDoc(Resource source,
TranslationsResource translation,
LocaleMapping locale) |
Modifier and Type | Method and Description |
---|---|
TranslationsResource |
TranslatedDoc.getTranslation() |
Constructor and Description |
---|
TranslatedDoc(Resource source,
TranslationsResource translation,
LocaleId locale) |
Modifier and Type | Method and Description |
---|---|
ProcessStatus |
AsyncProcessClient.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean myTrans)
Deprecated.
|
ProcessStatus |
AsyncProcessClient.startTranslatedDocCreationOrUpdateWithDocId(String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
String docId,
Set<String> extensions,
String merge,
boolean assignCreditToUploader) |
Modifier and Type | Method and Description |
---|---|
TranslationsResource |
TranslationsResource.createSample() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
MockTranslatedDocResource.putTranslations(String idNoSlash,
LocaleId locale,
TranslationsResource messageBody,
Set<String> extensions,
String merge)
Deprecated.
|
javax.ws.rs.core.Response |
TranslatedDocResource.putTranslations(String idNoSlash,
LocaleId locale,
TranslationsResource messageBody,
Set<String> extensions,
String merge)
Deprecated.
|
javax.ws.rs.core.Response |
MockTranslatedDocResource.putTranslationsWithDocId(LocaleId locale,
TranslationsResource messageBody,
String docId,
Set<String> extensions,
String merge) |
javax.ws.rs.core.Response |
TranslatedDocResource.putTranslationsWithDocId(LocaleId locale,
TranslationsResource messageBody,
String docId,
Set<String> extensions,
String merge)
Updates the translations for a document and a locale.
|
ProcessStatus |
MockAsynchronousProcessResource.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean myTrans)
Deprecated.
|
ProcessStatus |
AsynchronousProcessResource.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean assignCreditToUploader)
Deprecated.
|
ProcessStatus |
MockAsynchronousProcessResource.startTranslatedDocCreationOrUpdateWithDocId(String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
String docId,
Set<String> extensions,
String merge,
boolean assignCreditToUploader) |
ProcessStatus |
AsynchronousProcessResource.startTranslatedDocCreationOrUpdateWithDocId(String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
String docId,
Set<String> extensions,
String merge,
boolean assignCreditToUploader)
Attempts to start the translation of a document.
|
Copyright © 2018 Zanata Project. All rights reserved.