Google Translate Scraper avatar
Google Translate Scraper

Pricing

$10.00/month + usage

Go to Apify Store
Google Translate Scraper

Google Translate Scraper

Developed by

Maged

Maged

Maintained by Community

translates text using Google Translate. and no rate limit at all It supports a wide range of languages and can automatically detect the source language if not specified. Use version 1.1 it's way faster

5.0 (1)

Pricing

$10.00/month + usage

0

6

1

Last modified

2 months ago

Google Translate Apify Actor

This Apify Actor translates batches of text using Google Translate via the googletrans library. It supports a wide range of languages and can automatically detect the source language if not specified.

Features

  • Batch Translate Text: Translate multiple texts from one language to another in a single request.
  • Auto Language Detection: Automatically detect the source language if not specified.
  • Efficient Bulk Processing: Groups translations by language pairs for optimal performance.

Supported Languages

This actor supports a wide range of languages. See the source code for the full list of supported language codes.

Input Schema

The input for this actor should be a JSON object with a single property:

  • batch_items: An array of translation items. Each item should be an object with:
    • text: The text to be translated (required)
    • source_lang: The source language code (optional, default: 'auto')
    • target_lang: The target language code (required)

Example Input

{
"batch_items": [
{ "text": "hello everyone", "source_lang": "en", "target_lang": "es" },
{ "text": "bonjour tout le monde", "source_lang": "fr", "target_lang": "en" }
]
}

Output Schema

Each output item will be a JSON object with the following properties:

  • item_index: The index of the item in the input batch
  • original_text: The original text provided for translation
  • translated_text: The translated text
  • source_language: The detected or specified source language code
  • target_language: The target language code
  • success: Whether the translation was successful

Example Output

{
"item_index": 0,
"original_text": "hello everyone",
"translated_text": "hola a todos",
"source_language": "en",
"target_language": "es",
"success": true
}