|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TranslationManager
Method Summary | |
---|---|
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)
|
Method Detail |
---|
Map getInstalledLocales()
String getTranslatedNameFromString(String translationString)
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 field
String getCustomFieldNameTranslation(CustomField customField, Locale locale)
customField
- a custom fieldlocale
- The locale to get the translation for.
String getCustomFieldDescriptionTranslation(CustomField customField)
customField
- a custom field
String 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |