Configure Google Translate API

In order to use the Google Translate API, the customer must have created an account with Google and obtained the following:

  • URL for the Google IP site.

  • Google Translate API key

Configuration of the Google Translate API is performed by updating shared configuration properties. If you are configuring Google Translate API by modifying the sharedConfig.properties files and the following settings do not appear in the file, stop all EnterWorks services, add the property settings to the bottom of the sharedConfig.properties files, and start the services again.

The settings used to configure EnterWorks to use the Google Translate API are:

  • google.translate.enabled: Specifies whether the translation is enabled.

    • 1: Google Translate is enabled.

    • 0: Google Translate is disabled.

  • google.translate.refer.site: URL for the Google IP site.

  • google.translate.key: The Google Translate API key.