We are now adding a new and exciting feature that will enable integration of automatic content translation into our Actions. You will be able to execute a Copy action, while automatically translating text field values, and, in case of document libraries, supported file types as well (Word, Excel, PowerPoint and PDF).
In the initial release we are supporting Google Cloud Translation service, with support for Azure Cognitive Services coming in the future. Note that these are paid services and you need to establish a payment profile with the provider, although small monthly volumes might fall under the free tier.
To start implementing this new functionality, you first need to configure the service under your Google Cloud account.
- Log into your Google Cloud Console
- Start with a creation of a new project. I called mine Translations, but you can use any name you like. You can also leverage an existing project if you have one.
- Take a note of the Project ID, we will require it later.
- Next click on Enabled APIs & Services of the project, then click on ENABLE APIS AND SERVICES
- Search for "translation"
- And choose "Cloud Translation API"
- Click on Enable for the API
- If you haven't previously enabled billing on your account, you will be prompted to do it now. Translation is a pay-as-you-go service. See pricing here under Advanced section.
- Next click on Credentials in the left menu to generate credentials that the app will use to gain access to the service
- We need to create a new service account, so click on Create Credentials, then Service Account
- Click on Create and Continue, then enter Translation in the search box for the role and select Cloud Translation API User. That will ensure the service account is allowed to perform calls to the translation service.
- Once you create the service account and see it in the list, you can generate keys, which will then be given to our app. Click on Manage Keys under Actions
- Then click on Create new key under Add key
- Create a new key in JSON format. It will download a text file to your computer, make sure to keep it in a safe place.
- We are done on the Google side. Now go into your list or document library, click on Design -> Actions -> and start creating your new Copy list items action
- Under Action settings, toggle Enable automatic translation on.
- Under Project ID, enter the project ID from google, as we created it earlier.
- Under JSON credentials, past the contents of the JSON key file we downloaded.
- Select the translation target language and save the action.
- I created my action as a manual action that will translate a document into French and place the translated copy under French folder
- Once I execute my action, I can go French folder and see my new document there
As you can see, all text columns are translated as well, as shown here with Title column.
- And if I open the document itself, I can see that it's in French
Note that I used part of our blog article as source, read it here
I hope you find this new feature useful, enjoy!
Add your comment
100% No-Code Solution
It's never been easier, to create, innovate and share, all you need is your web browser!
Address business process pain points immediately. Save time and money.
Fantastic Support Team
Facing difficulties installing the application? Contact our fantastic support team.