Meetanshi Docs Magento 2 AI Translator

AI Translator for Magento 2 - User Guide

Extension Installation

Prerequisites

  • Magento 2.3.x – 2.4.x installed and functioning.
  • Active Google Gemini API key.

Magento Marketplace Customers Method

  1. Access your server CLI via SSH and navigate to your Magento root directory.
  2. Run the Composer command to fetch the extension:
    composer require meetanshi/magento-2-ai-translator
    
  3. Enable the extension module:
    php bin/magento module:enable Meetanshi_Translator
    
  4. Run the upgrade command:
    php bin/magento setup:upgrade
    
  5. Deploy static content based on your Magento version:
    • For Magento 2.0.x – 2.1.x:
      php bin/magento setup:static-content:deploy
      
    • For Magento 2.2.x & above:
      php bin/magento setup:static-content:deploy -f
      
  6. Flush the Magento cache:
    php bin/magento cache:flush
    

Direct ZIP / Meetanshi Customers Method

  1. Download the extension ZIP file from your Meetanshi account area.
  2. Extract the archive contents and upload them to your server under <Magento_Root>/app/code/Meetanshi/Translator/.
  3. Connect to your Magento server via SSH and execute the following commands:
    php bin/magento setup:upgrade
    
    • For Magento 2.0.x – 2.1.x:
      php bin/magento setup:static-content:deploy
      
    • For Magento 2.2.x & above:
      php bin/magento setup:static-content:deploy -f
      
    php bin/magento cache:flush
    

AI Translator for Magento 2 leverages Google Gemini AI to translate catalog products, CMS blocks, and CMS pages into multi-language store views instantly with context preservation.

AI Translator Landing Page

How to Obtain Google Gemini API Key

Follow these simple steps to obtain your Google Gemini API key:

  1. Visit Google AI Studio.
  2. Log in with your Google account.
  3. Click the Get API key button in the top left or main overview panel.
  4. Click Create API key (you can select an existing Google Cloud project or create a new one).
  5. Copy the generated API Key string.
  6. Paste the copied API key into the Gemini API Key field under Stores > Configuration > Meetanshi > Translator in Magento Admin.

How to get Gemini API Key

General Configuration

Navigate to Stores > Configuration > Meetanshi > Translator to set up Google Gemini AI credentials.

  • Enable Translator: Select Yes to enable AI content translation features in admin.
  • Gemini API Key: Enter your Google Gemini API key.
  • Gemini Model: Select the desired Gemini AI engine (e.g., gemini-1.5-flash or gemini-1.5-pro).

AI Translator Configuration

Catalog Product Translation

Navigate to Catalog > Products and open any product for editing.

  1. Click the Translate Content button in the top admin toolbar.
  2. Select target store view/language in the modal slide-out window.
  3. Review AI-translated Product Name, Description, and Short Description.
  4. Click Save Translation to apply the translated text to the selected store view.

Product Content Translation Modal

CMS Block & CMS Page Translation

Navigate to Translator > CMS Block Translator or Translator > CMS Page Translator.

  • Select Content Items: Multi-select CMS Blocks or CMS Pages to translate.
  • Target Store View: Select target store views/languages for translation.
  • Translate & Save: Click Translate to generate AI content and save directly into target store views.

CMS Translator Admin View

Updated: Jul 21, 2026Top ↑