Magento 2 AI Review TranslatorMagento 2 AI Review Translator
Live Demo
Buy Now
Support
Live Demo
Buy Now
Support
  • Getting Started

    • Introduction
    • Key Features
    • How It Works
  • Installation

    • Requirements
    • Install the Module
    • Install the AI Packages
    • Enable & Compile
    • Verify the Installation
    • Content Security Policy
    • Translating the Interface
  • Setup

    • Enable the Module
    • Activate Your Licence
    • Select an LLM Provider
    • Validate & Load Models
    • First Translation
  • Configuration

    • Overview
    • General Settings
    • Limits & Timeouts
    • Store Views & Languages
    • Admin Menu
    • Access Control
  • LLM Providers

    • Provider Overview
    • How Validation Works
    • Choosing a Model
    • Switching Providers
  • Ollama (Self-Hosted)

    • Install Ollama
    • Connect to Magento
    • Timeouts & Batch Size
    • Troubleshooting
  • Translating Reviews

    • Translation Basics
    • What Is Sent to the Model
    • Fallback Behaviour
    • Automatic Translation
    • The Queue Consumer
    • Running the Consumer
    • Bulk CLI Command
    • Batch Size
    • CLI Output & Exit Codes
  • Storefront

    • On the Storefront
    • The Toggle
    • Styling
  • Developers

    • GraphQL API
    • Querying from Code
    • Data Model
    • Useful SQL
  • Help

    • Setup Problems
    • Translation Problems
    • Queue Problems
    • Storefront Problems
    • FAQ

How It Works

Two paths write into the same table. Everything else in the extension reads from it.

The two paths

PathTriggered byUse it for
AutomaticApproving a review in the adminEveryday operation — new reviews translate on their own.
Bulkphp bin/magento Translate:AllBackfilling reviews that already existed, and re-translating after a model change.

You need both. The observer only fires on save, so reviews approved before you installed the module were never queued — the bulk command is how you catch up.

The pieces

PieceNameWhat it does
Observerreview_save_afterPublishes approved reviews to the queue.
Topic / queueaireview.translation.generateCarries the work. Runs on the db connection.
Consumeraireview.translation.generateCalls the LLM and writes the translation.
CLI commandTranslate:AllBatched backfill across store views.
Tableai_review_translation_listOne row per review × store view.
Logvar/log/aireviewlogger.logPublishes, writes, and provider errors.

Where to go next

You want to…Start at
Install itRequirements
Connect a modelSelect an LLM Provider
Understand the LLM callWhat Is Sent to the Model
Backfill old reviewsBulk CLI Command
Query it in codeGraphQL API
Prev
Key Features