Google Language Translation extension icon

Google Language Translation for Magento 2

A free, Google-powered language switcher for your storefront header, footer or any CMS page.

Catalog & Storefront Magento 2.4.x Open Source & Adobe Commerce Adobe Marketplace approved $29 USD

Why choose Google Language Translation?

Google Language Translation adds a language switcher to the header, footer or any CMS page using Google's website translator, with no API key or billing account needed. Pages translate instantly without reloading, you choose which languages to offer and where the switcher appears, and parts of the page can be excluded from translation.

Google Language Translation: General configuration (screenshot 1 of 6)Google Language Translation: Design display (screenshot 2 of 6)Google Language Translation: Exclusions (screenshot 3 of 6)Google Language Translation: Frontend header (screenshot 4 of 6)Google Language Translation: Frontend footer (screenshot 5 of 6)Google Language Translation: Frontend widget (screenshot 6 of 6)
1 / 6

Key features

  • Header & Footer Auto-Placement
  • CMS Widget Placement
  • Live, No-Reload Translation
  • Custom Styled Dropdown
  • Hide Google Branding
  • Choose Which Languages to Offer
  • Per Page-Type Display Rules
  • Translation Exclusions
  • Store-View Scoped Settings
  • Enable / Disable without Losing Settings
  • No API Key or Billing Required
  • Zero Core Code Modifications

At a glance

Module nameMage2Expert_GoogleTranslator
Composer packagemage2expert/module-googletranslator
SettingsStores › Configuration › Magento Expert › Google Translator (23 options)
Per store view settingsYes
APINo custom endpoints (uses Magento's standard APIs)
PHP8.1, 8.2, 8.3, 8.4, 8.5

Installation

After purchasing on the Adobe Commerce Marketplace, install it with Composer using your Marketplace access keys:

composer require mage2expert/module-googletranslator
bin/magento module:enable Mage2Expert_GoogleTranslator
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Skip setup:di:compile and static-content:deploy if your store runs in developer mode.

Configuration reference

All 23 options under Stores › Configuration › Magento Expert › Google Translator, grouped as they appear in the admin.

General Settings 5
SettingDescription
Enable Google TranslatorEnable or disable the Google language switcher site-wide.
Block PositionWhere the language switcher should be rendered on the page.
Widget LayoutVisual layout of Google's native dropdown. Only used when the custom styled dropdown (Design Settings) is turned off.
Default Page LanguageThe original language of your storefront content.
Languages to OfferSelect the languages customers can translate the page into. Leave empty to offer all 100+ supported languages.
Display Settings 7
SettingDescription
Show on All PagesWhen enabled, the switcher renders on every storefront page and the page-type toggles below are ignored.
Enable for Product Pages 
Enable for Category Pages 
Enable for CMS Pages 
Enable for Contact Us Page 
Enable for Checkout Page 
Enable for Homepage 
Design Settings 10
SettingDescription
Hide "Powered by Google Translate"Hides Google's attribution text/logo and the translation toolbar banner that appears at the top of the page after a language is selected.
Use Custom Styled DropdownReplaces Google's plain native dropdown with a styled flag dropdown driven by the colors below. Turn off to fall back to Google's native widget (styled by the Widget Layout option above).
Show Language FlagsShows a flag icon next to each language in the custom dropdown.
Dropdown Background ColorCSS color value, e.g. #ffffff.
Dropdown Text ColorCSS color value, e.g. #333333.
Dropdown Border ColorCSS color value, e.g. #dddddd.
Dropdown Hover ColorCSS color value used when hovering a language option, e.g. #f5f5f5.
Dropdown Corner Radius (px)Whole number, e.g. 6.
Dropdown Font Size (px)Whole number, e.g. 13.
Custom CSSAdvanced: extra CSS rules appended after the switcher's own styles, for further customization.
Translation Exclusions 1
SettingDescription
Excluded CSS SelectorsOne CSS selector per line (or comma separated), e.g. .price, #sku-code, .no-translate. Matching elements are marked so Google Translate leaves their text untouched.

Frequently asked questions

How much does Google Language Translation cost?
Google Language Translation costs $29 USD as a one-off purchase on the Adobe Commerce Marketplace.
Which Magento and PHP versions are supported?
Magento Open Source and Adobe Commerce 2.4.x. It is developed and tested on Magento 2.4.8, and supports PHP 8.1, 8.2, 8.3, 8.4, 8.5.
Where do I configure Google Language Translation?
In the Magento admin under Stores › Configuration › Magento Expert › Google Translator. It has 23 options, grouped into 4 sections.
Can I switch it off without uninstalling it?
Yes. Set "Enable Google Translator" to No under Stores › Configuration › Magento Expert › Google Translator. Your settings and data are kept.
Can the settings differ per store view?
Yes. Many options can be set per website and store view, so multi-store and multi-language setups can behave differently.
Can it be customised for my store?
Yes. As the developer of Google Language Translation, I can adapt it to your workflow or build related features. Email me with what you need.
Available for new projects

Have a Magento project in mind?

Tell me about your store and what you need. I reply to every enquiry within one business day.

Adobe Certified Expert

Adobe Commerce Developer certification, verified on Credly.

15+ years of Magento

From Magento 1 to Magento 2.4.x, Adobe Commerce and Hyvä.

62 Marketplace extensions

Each one reviewed and approved by Adobe.