GetOData

Yet Another Dataset Translator – Effortlessly Translate and Select Fields

2 min read

Intro:

The Yet Another Dataset Translator is a powerful tool designed to help users translate datasets quickly and effectively. By leveraging the Google Translate API, this actor allows you to translate multiple fields while seamlessly handling different languages.

🔍 What Is Yet Another Dataset Translator?

The Yet Another Dataset Translator is an API that focuses on translating datasets by detecting the source language of data entries. This is particularly useful for businesses and developers who need to process and translate large volumes of data while minimizing costs associated with API usage, as it skips translations for entries already in the target language.

✨ Features

  • Language Detection: Automatically detects the source language and skips translation if it matches the target language.
  • Mock Translation Mode: Test your setup without incurring costs by running the actor with an empty API key.
  • Customizable Field Selection: Define which fields in your dataset should be translated using glob patterns.
  • Budget-friendly: Provides an estimate of the potential costs for translation, helping you manage your Google Cloud spending.
  • Original Text Preservation: Optional prefix for original values ensures you retain the untranslated text.

🛠️ How to Use It

Step-by-step tutorial:

  1. Go to the tool’s page: Yet Another Dataset Translator
  2. Click “Try for free” or “Run actor”.
  3. Fill in the required input fields:
    • dataset_ids: List of dataset IDs you wish to translate.
    • api_key: Your Google Translate API key (run in mock mode without it).
    • field_patterns_to_translate: Specify the fields that need translation using glob patterns.
    • Additional optional fields as required.
  4. Click “Run” and wait for results.
  5. Download results or send them to a webhook.

🧪 Sample Input (JSON)

json { "dataset_ids": ["1234", "5678"], "api_key": "YOUR_GOOGLE_TRANSLATE_API_KEY", "field_patterns_to_translate": ["*Field"], "detect_language_threshold": 0.7 }

📤 Output Data (Fields)

  • text: Translated text.
  • original_text: Original text string.
  • wasTranslated: A boolean indicating if translation was applied.

💰 Pricing This actor is priced at $0.10/1000 characters. There is no free tier, but mock translation mode allows for testing without costs.

👨‍💻 Built By Miro Volfik — from Apify.com

✅ Final Thoughts The Yet Another Dataset Translator is an essential tool for marketers, data analysts, and developers looking to efficiently translate datasets while optimizing costs. Its language detection and mock run features set it apart, making it a must-try for anyone needing translation services.

🔗 Try the Actor Now 👉 Yet Another Dataset Translator