Skip to content

Add translate field/s to Query Task #649

@jamesduncan

Description

@jamesduncan

Add to the query task to allow a user to select one or more fields to translate from one language to another using Google's translate API.

Requirements

  1. Input API key for access to Google Translate API (inside app settings?).
  2. Read the text value of a field from an object that was created or updated.
  3. Choose the language of the source field from a drop down.
  4. Choose the language to translate to from a drop down.
  5. If the field is not multilingual choose a field (from the same object) to store the new translated value on.
  6. If the field is multilingual choose what language to store the new translated value in (from list of current languages the site is using).

Tasks

  • Enhance current Query task's set value to add a new "Translate" option alongside "Custom" and "Process".
  • Add to App Setting to include Google API key.

Reference

This feature will allow us to translate captions for the new FCF Activity Reporting. Currently there is a cron on Adroit that does this for the legacy Adroit and has saved the staff a lot of time on translations.

Possilbe UI/UX could be adding a new option here for "Translate" and give "Translate from:" and "Translate to:" and if not a multilingual field provide an option that says "Save value on" that allows you to choose another field on the same object.

Image

Metadata

Metadata

Labels

minorTag Pull Requests to trigger a minor version update

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions