CometChat’s real-time translate feature can integrate with either Microsoft’s Translate API or Google’s Translate API. Below are the pricing details for each service:
Google’s Translate API (recommended; $20 for 1 million characters)
Microsoft’s Translate API (includes free plan)
Once you have decided which API you would like to use, please follow the instructions accordingly:
You need to sign up for the Translate API service.
You need to add a billing account. Without adding this account, Google Translate will not work.
On login, click on settings tab and select Billing accounts. Now, click on Add billing account button.
Now, create a new Project.
On successful creation of the new project, click on APIs under APIs and auth.
Click on Translate API under Other popular APIs section.
Enable the API by clicking on Enable API button.
Click on Credentials under APIs and auth.
Click on Add credentials and select API key.
Select Browser key.
Fill the required details and click on Create button.
Copy the API key.
Go to CometChat Administration Panel –> Features –> Other Features –> Translate Conversations and click on the Configure icon besides the name.
Leave the Client ID and Client Secret values as blank, set Use Google Translate API to Yes and add the key which you copied earlier. Finally click on Update Settings button.