Class CustomTranslationHook

java.lang.Object
com.ptc.arbortext.windchill.siscore.translation.CustomTranslationHook

public abstract class CustomTranslationHook extends Object
The CustomTranslationHook can retrieve translated values for Windchill attributes during publishing.
  • 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 name
      attributeName - - Windchill soft attribute name
      sourceLanguage - - source or authored language of the attributeValue
      attributeValue - - attributeValue for which translation needs to be fetched
      targetLanguage - - target language for which translation needs to be fetched
      Throws:
      WTException -

      Supported API: true