Class LanguageWeaverTranslateConnector

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.automatic.translation.api.AutomaticTranslationComponentPlugin
org.exoplatform.automatic.translation.impl.connectors.LanguageWeaverTranslateConnector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class LanguageWeaverTranslateConnector extends org.exoplatform.automatic.translation.api.AutomaticTranslationComponentPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class org.exoplatform.automatic.translation.api.AutomaticTranslationComponentPlugin

    settingService

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    LanguageWeaverTranslateConnector(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.container.xml.InitParams initParams)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    translate(String message, Locale targetLocale)
     

    Methods inherited from class org.exoplatform.automatic.translation.api.AutomaticTranslationComponentPlugin

    getApiKey, setApiKey

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • LanguageWeaverTranslateConnector

      public LanguageWeaverTranslateConnector(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.services.resources.LocaleConfigService localeConfigService, org.exoplatform.container.xml.InitParams initParams)
  • Method Details

    • translate

      public String translate(String message, Locale targetLocale)
      Specified by:
      translate in class org.exoplatform.automatic.translation.api.AutomaticTranslationComponentPlugin