Starting from V1.0.0.6, Clara supports language localization through the following services: .
HCL Translation Service (default)
Google Translation Service
Azure Translation Service
To use Clara language localization support, you must first install the translation service of your choice.
HCL Translation Service is available both on HCL Software Factory (SoFy), a catalog of Kubernetes enabled products and, together with Clara, on HCL License Portal as a package for on-premises installation with Docker; for details, see Installing and Configuring the Translator service.
After deploying Clara V1.0.0.6 with Docker, you must properly customize the <BUILD_DIR>/clara/config/Clara-WA.env.TEMPLATE file to specify the translation service parameters. For the list of parameters to be specified, see the section Properties for language translation in Customizing environment files.
When you have properly configured the translation service, you can activate the connection to the service by running the following command from Clara installation folder:
./clara.sh --up --auth --translator
To stop the translation service, run the command:
./clara.sh --down
To restart the translation service, run the command:
./clara.sh --up
To remove the connection to the translation service, run the command:
./clara.sh --up --auth
Once the connection to the service is activated, you can stop/restart the service without having to reactivate the connection.
When deploying Clara V1.0.0.6 with Kubernetes on SoFy, depending on the translation service of your choice, you must properly configure the following parameters of the values.yaml file, :
claraEnv.translator
claraEnv.TRANSLATION_SERVICE
claraEnv.TRANSLATION_SERVICE_URL
claraEnv.GOOGLE_APPLICATION_CREDENTIALS
claraEnv.GOOGLE_CREDENTIALS
claraEnv.AZURE_SUBSCRIPTION_KEY
claraEnv.AZURE_LOCATION
claraEnv.SUPPORTED_LANGUAGES
For the description and valid values of the above parameters, see the readme file available for Clara availability on SoFy.