Cloud Storage to Machine Translation
An Egg is a downloadable Bird example. For a guided setup using your Apps, start with a Blueprint.
In this Egg-guide, let’s explore some options to integrate cloud storage with machine translation. Find Downloadable Eggs at the end!
Process Outline
Section titled “Process Outline”- Trigger: File(s) uploaded to cloud storage Users upload files to a chosen cloud storage application. This action sets our Bird into motion.
- File download Files are downloaded from the cloud storage.
- Machine translation The downloaded files are sent to a machine translation engine for quick processing.
- Translated file upload Translated files are uploaded back to the cloud storage, placed in a designated output folder.
This diagram shows the steps. Configure the imported Bird in the current editor.
- Polling Events: Some Apps use polling instead of webhooks to detect updated/new files. Check for an Interval tab when setting up your trigger and choose the appropriate time for you (see current polling limits).
- Content and context: Add Lake preparation and storage to reuse accepted translations and include the context supported by your processing App. Maintain your terminology in Termbases and writing guidance in Style guides.
- Target language: You can select a language from the dynamic inputs of the MT App you are using. You can also use operators to cycle through a list of predefined languages (see the multiple-language download below). Alternatively, you can also fetch this information from another App/action. It all depends on what your process looks like.
- Optional parameters: Many MT Apps offer different parameters to be set, such as dictionaries, formality, and custom engine. Check the input tab for all steps.
- Output folder setup: When uploading your files back to the cloud storage of your choice, ensure to set up a new folder to prevent overwriting your original files or creating an infinite loop where translated files serve as a new trigger and are reprocessed.
- Use the correct input: When re-uploading your file, be certain to select the correct input. If you choose the exported file, then you will be re-importing the same exact file, without changes. Choose the output file from the translate action instead.
- Loops are needed: Whether to iterate through a list of target languages or to send each file within a group of downloaded files to an action that only takes one at a time, loops are the key.
- File renaming: You can change the name of files before re-uploading them. If you want to append the target language code at the end of your file name or indicate through the file name that it has been machine translated, you can use the Utilities App or other helpers. There is a downloadable Bird example for this at the bottom of the page.
Suggested Apps
Section titled “Suggested Apps”Cloud Storage
Section titled “Cloud Storage”Machine Translation
Section titled “Machine Translation”Download an Egg
Section titled “Download an Egg”Download JSON Birds to import into your Nest, make any desired adjustments, and fly.
- SharePoint to Amazon Translate and back
- Amazon S3 to Language Weaver
- Dropbox to GlobalLink NOW set multiple languages
- Dropbox to GlobalLink NOW and back
- Google Drive to DeepL and back
- Google Drive to DeepL with Phrase Glossary and back
- SFTP to Google Translate with file renaming
Importing Eggs
Section titled “Importing Eggs”Download the JSON example, select the intended Nest, and use Import from the Birds page. Open the imported Bird, choose your App connections, and complete its settings. Review Bird Tasks before saving or publishing.
See Building a Bird for setup and your first Flight.