Class CustomTranslationHook
java.lang.Object
com.ptc.arbortext.windchill.siscore.translation.CustomTranslationHook
The CustomTranslationHook can retrieve translated values for Windchill attributes during publishing.
-
Method Summary
-
Method Details
-
translateAttribute
public abstract String translateAttribute(String softtype, String attributeName, String sourceLanguage, String attributeValue, String targetLanguage) throws WTException This method specifies the attribute for which you want to retrieve a translated attribute value.- Parameters:
softtype- - Windchill soft type nameattributeName- - Windchill soft attribute namesourceLanguage- - source or authored language of the attributeValueattributeValue- - attributeValue for which translation needs to be fetchedtargetLanguage- - target language for which translation needs to be fetched- Throws:
WTException-
Supported API: true
-