public interface TranslationManager
Modifier and Type | Method and Description |
---|---|
void |
deleteCustomFieldTranslation(CustomField customField,
Locale locale) |
void |
deleteIssueConstantTranslation(IssueConstant issueConstant,
String issueConstantPrefix,
Locale locale) |
String |
getCustomFieldDescriptionTranslation(CustomField customField)
Get the translated name for the custom field or null if no translation exists.
|
String |
getCustomFieldDescriptionTranslation(CustomField customField,
Locale locale)
Get the translated name for the custom field or null if no translation exists.
|
String |
getCustomFieldNameTranslation(CustomField customField)
Get the translated name for the custom field or null if no translation exists.
|
String |
getCustomFieldNameTranslation(CustomField customField,
Locale locale)
Get the translated name for the custom field or null if no translation exists.
|
Map |
getInstalledLocales() |
String |
getIssueConstantTranslation(IssueConstant issueConstant,
boolean name,
Locale locale) |
String |
getIssueConstantTranslation(IssueConstant issueConstant,
boolean name,
String locale) |
String |
getIssueConstantTranslation(IssueConstant issueConstant,
boolean name,
String locale,
I18nHelper i18n) |
String |
getTranslatedDescriptionFromString(String translationString) |
String |
getTranslatedNameFromString(String translationString) |
boolean |
hasLocaleTranslation(IssueConstant issueConstant,
String locale) |
void |
setCustomFieldTranslation(CustomField customField,
Locale locale,
String translatedName,
String translatedDesc)
Store the translated name and description for a custom field in a particular locale
|
void |
setIssueConstantTranslation(IssueConstant issueConstant,
String issueConstantPrefix,
Locale locale,
String translatedName,
String translatedDesc) |
Map getInstalledLocales()
String getTranslatedDescriptionFromString(String translationString)
String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, String locale)
String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, String locale, I18nHelper i18n)
String getIssueConstantTranslation(IssueConstant issueConstant, boolean name, Locale locale)
boolean hasLocaleTranslation(IssueConstant issueConstant, String locale)
void setIssueConstantTranslation(IssueConstant issueConstant, String issueConstantPrefix, Locale locale, String translatedName, String translatedDesc)
void deleteIssueConstantTranslation(IssueConstant issueConstant, String issueConstantPrefix, Locale locale)
String getCustomFieldNameTranslation(CustomField customField)
customField
- a custom fieldString getCustomFieldNameTranslation(CustomField customField, Locale locale)
customField
- a custom fieldlocale
- The locale to get the translation for.String getCustomFieldDescriptionTranslation(CustomField customField)
customField
- a custom fieldString getCustomFieldDescriptionTranslation(CustomField customField, Locale locale)
customField
- a custom fieldlocale
- The locale to get the translation for.void setCustomFieldTranslation(CustomField customField, Locale locale, String translatedName, String translatedDesc)
customField
- a custom fieldlocale
- the localetranslatedName
- the translated nametranslatedDesc
- the translated descriptionvoid deleteCustomFieldTranslation(CustomField customField, Locale locale)
Copyright © 2002-2023 Atlassian. All Rights Reserved.