| Package | Description |
|---|---|
| org.zanata.common | |
| org.zanata.rest | |
| org.zanata.rest.dto | |
| org.zanata.rest.dto.resource | |
| org.zanata.rest.dto.stats.contribution | |
| org.zanata.rest.service |
| Modifier and Type | Field and Description |
|---|---|
static LocaleId |
LocaleId.DE |
static LocaleId |
LocaleId.EN |
static LocaleId |
LocaleId.EN_US |
static LocaleId |
LocaleId.ES |
static LocaleId |
LocaleId.FR |
| Modifier and Type | Method and Description |
|---|---|
static LocaleId |
LocaleId.fromJavaName(String localeName) |
| Modifier and Type | Method and Description |
|---|---|
protected LocaleId |
LocaleIdSet.valueOfElem(String value) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
GlossaryTerm.getLocale()
Term's locale
|
LocaleId |
LocaleDetails.getLocaleId()
Unique locale identifier
|
LocaleId |
ProjectStatisticsMatrix.getLocaleId() |
LocaleId |
GlossaryEntry.getSrcLang()
The source locale for this specific entry
|
LocaleId |
LocaleIdAdapter.unmarshal(String s) |
| Modifier and Type | Method and Description |
|---|---|
List<LocaleId> |
User.getLanguageTeams() |
| Modifier and Type | Method and Description |
|---|---|
String |
LocaleIdAdapter.marshal(LocaleId localeId) |
void |
GlossaryTerm.setLocale(LocaleId locale) |
void |
LocaleDetails.setLocaleId(LocaleId localeId) |
void |
ProjectStatisticsMatrix.setLocaleId(LocaleId localeId) |
void |
GlossaryEntry.setSrcLang(LocaleId srcLang) |
| Modifier and Type | Method and Description |
|---|---|
void |
User.setLanguageTeams(List<LocaleId> languageTeams) |
| Constructor and Description |
|---|
LocaleDetails(LocaleId localeId,
String displayName,
String alias,
String nativeName,
boolean enabled,
boolean enabledByDefault,
String pluralForms,
boolean rtl) |
ProjectStatisticsMatrix(String savedDate,
LocaleId localeId,
String localeDisplayName,
ContentState savedState,
long wordCount) |
| Constructor and Description |
|---|
User(String username,
String email,
String name,
String imageUrl,
List<LocaleId> languageTeams,
List<String> roles) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
TextFlow.getLang()
Locale code for this text flow.
|
LocaleId |
AbstractResourceMeta.getLang() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextFlow.setLang(LocaleId lang) |
void |
AbstractResourceMeta.setLang(LocaleId lang) |
| Constructor and Description |
|---|
TextFlow(String id,
LocaleId lang) |
TextFlow(String id,
LocaleId lang,
List<String> contentList) |
TextFlow(String id,
LocaleId lang,
String... content) |
| Modifier and Type | Method and Description |
|---|---|
LocaleId |
LocaleStatistics.getLocale()
Locale code for for the stats
|
| Constructor and Description |
|---|
LocaleStatistics(LocaleId locale) |
LocaleStatistics(LocaleId locale,
BaseContributionStatistic translationStats,
BaseContributionStatistic reviewStats) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
TranslatedDocResource.deleteTranslations(String idNoSlash,
LocaleId locale)
Deprecated.
|
javax.ws.rs.core.Response |
TranslatedDocResource.deleteTranslationsWithDocId(LocaleId locale,
String docId)
Deletes a set of translations for a given locale.
|
javax.ws.rs.core.Response |
TranslationMemoryResource.getAllTranslationMemory(LocaleId srcLocale,
LocaleId locale)
Returns all translation memory in the system
|
javax.ws.rs.core.Response |
GlossaryResource.getDetails(LocaleId locale,
List<Long> termIds)
Get the details for a set of glossary terms.
|
javax.ws.rs.core.Response |
GlossaryResource.getEntries(LocaleId srcLocale,
LocaleId transLocale,
int page,
int sizePerPage,
String filter,
String fields,
String qualifiedName)
Returns a subset of Glossary entries for the given source and translation
locale as indicated by the paging parameters.
|
javax.ws.rs.core.Response |
TranslationMemoryResource.getProjectIterationTranslationMemory(String projectSlug,
String iterationSlug,
LocaleId srcLocale,
LocaleId locale)
Retrieves translation memory for a project version
|
javax.ws.rs.core.Response |
TranslationMemoryResource.getProjectTranslationMemory(String projectSlug,
LocaleId srcLocale,
LocaleId locale)
Retrieves translation memory for a project
|
javax.ws.rs.core.Response |
TranslatedDocResource.getTranslations(String idNoSlash,
LocaleId locale,
Set<String> extensions,
boolean skeletons,
String eTag)
Deprecated.
|
javax.ws.rs.core.Response |
TranslatedDocResource.getTranslationsWithDocId(LocaleId locale,
String docId,
Set<String> extensions,
boolean createSkeletons,
String eTag)
Retrieves a set of translations for a given locale.
|
javax.ws.rs.core.Response |
TranslatedDocResource.putTranslations(String idNoSlash,
LocaleId locale,
TranslationsResource messageBody,
Set<String> extensions,
String merge)
Deprecated.
|
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.
|
javax.ws.rs.core.Response |
GlossaryResource.search(LocaleId srcLocale,
LocaleId transLocale,
int maxResults,
String searchText,
String projectSlug)
Returns Glossary entries based on a fuzzy text search.
|
ProcessStatus |
AsynchronousProcessResource.startTranslatedDocCreationOrUpdate(String idNoSlash,
String projectSlug,
String iterationSlug,
LocaleId locale,
TranslationsResource translatedDoc,
Set<String> extensions,
String merge,
boolean assignCreditToUploader)
Deprecated.
|
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.