AI Translate from file storage
Blueprints are preconfigured Birds. Choose the Apps you use, then complete the Bird’s connections and settings.
In this Blueprint-guide, let’s explore some options to integrate cloud storage with machine translation, potentially with adding an AI post-edit step.
Getting started
Section titled “Getting started”- From the Blueprints menu, either select Translate files from file storage or Translate & Edit files from file storage.
- Select your Apps. This Blueprint works with a file storage App and an AI Translation App.
- Click Create Bird.
- If necessary, configure your Connection, set the language(s) you want to translate and select the source and target folders (see tips below).
Bird Outline
Section titled “Bird Outline”- Trigger: File(s) updated in 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.
- AI translation The downloaded files are sent to an AI translation engine for quick processing.
- Translated file upload Translated files are uploaded back to the cloud storage, placed in a designated output folder.
- 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 terminology and writing guidance. The Style guides and Termbases guides explain how to maintain that context.
- Target language: You can select a language from the dynamic inputs of the AI App you are using. You can also use operators to cycle through a list of predefined languages. If you want to translate into multiple languages, create another loop with all the languages as input. Alternatively, you can also fetch this information from another App/action. It all depends on what your process looks like.
- Optional parameters: Many AI 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.
Important Make sure your watched source folder is not the same as the folder you put the translations into. This would cause the Bird to fly in an infinite loop.
- 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. You can download a file-renaming Bird example.
Cloud Storage
Section titled “Cloud Storage”AI Translation
Section titled “AI Translation”Examples
Section titled “Examples”Add an editing step
Section titled “Add an editing step”Pass the translated file to the editing action, then upload the edited output.
Translate into multiple languages
Section titled “Translate into multiple languages”Loop over the target languages. Each iteration translates and uploads a file for the current language.