All settings are accessible from Extensions > Extensions > Modules > Google Language Switcher.
| Setting | Description | Tag |
|---|---|---|
| Status | Enables or disables the module on the storefront. | Required |
| Default Site Language | Base language code used as the pageLanguage for Google Translate. Example: en, fr, de. Values like en-gb are automatically normalized to en. | Required |
| Popup Mode | Choose between css_popup (built-in, no dependencies) or magnific_popup (uses theme’s Magnific Popup library). | Required |
| Enable Browser Language Detection | Reads the visitor’s browser language via navigator.language / navigator.userLanguage and normalizes to a 2-letter code. | Optional |
| Auto Open Popup on Mismatch | Automatically shows the suggestion popup when the detected browser language differs from the configured default language. | Optional |
| Remember User Choice | Stores visitor language preference in localStorage with a cookie fallback so the suggestion popup isn’t shown on every page. | Recommended |
| Enable Google Analytics Tracking | Sends open_translate_popup and translate_language_selected events via gtag when available. | Optional |
| Custom CSS | Appends custom CSS after the module stylesheet. Useful for matching the switcher to your theme design. | Optional |