Home Pricing About Dashboard

Automatically Translate Your Website

Getting Started with Flout Translate

The Flout Translate plugin adds automatic translation to your website by using a **snippet** of code you place in the <head> section of each website page you want to translate.


The basic snippet is all you need to run the plugin successfully. Because there are many options to configure the plugin we built a configurator tool to easily generate and copy a correctly configured snippet. This tool is available in your Flout Translate dashboard, in the Domains section.


The Basic Snippet
This is all you need to get started.

<meta name="google" content="notranslate">
<script src="https://flouttranslate.com/js/amashv3.1/flout-tloader.min.js"</script>

The snippet will load the plugin and display a language selector in the top right corner of the window by default. The plugin can be customised by adding more options to the snippet.

The line <meta name="google" content="notranslate"> is important for website visitors viewing your site in a different language. Our plugin uses a smart algorithm to decide which language to open your pages in to give the user a seamless and very friendly experience. Google may show them a pop-up option to change languages and this can be confusing because your site languages are managed by our plugin. This line of code, when placed in your head section, suppresses the Google pop-ups and is provided by Google for this very purpose.

Do not add 'defer' or 'async' to the snippet.


Additional Instructions
Shopify, WordPress, Wix, Squarespace, Webflow, WooCommerce, BigCommerce, Joomla, Drupal, Magento


How to Install on Shopify

Add Flout Translate to your Shopify store using the theme editor:

  1. From your Shopify admin, go to Online Store → Themes.
  2. Click “...” → Edit Code on your active theme.
  3. Open the theme.liquid file under the Layout folder.
  4. Locate the closing </head> tag.
  5. Paste your Flout Translate snippet just above </head> and click Save.

Flout Translate will now automatically translate your storefront content for visitors.

How to Install on WordPress

Add Flout Translate to your WordPress site using a simple script embed:

  1. In your WordPress admin, go to Appearance → Theme File Editor.
  2. In the right sidebar, open header.php under your active theme.
  3. Find the closing </head> tag.
  4. Paste your Flout Translate snippet just above </head> and click Update File.

You can also use a header injection plugin if you prefer not to edit theme files directly.

How to Install on Wix

To add Flout Translate to your Wix site:

  1. Open your Wix dashboard and go to Settings → Custom Code.
  2. Click “Add Custom Code”.
  3. Paste your Flout Translate snippet.
  4. Choose “Head” as the location, and apply it to All Pages.
  5. Click Apply to save.

Your site will now display translations automatically based on the visitor’s selected language.

How to Install on Squarespace

Embed Flout Translate into your Squarespace website in a few easy steps:

  1. Log in and go to Settings → Advanced → Code Injection.
  2. Paste your Flout Translate snippet into the Header section.
  3. Click Save.

Translations will appear automatically for all visitors once installed.

How to Install on Webflow

Add Flout Translate to your Webflow site via the global site settings:

  1. Open your Webflow project and go to Project Settings → Custom Code.
  2. In the Head Code field, paste your Flout Translate snippet.
  3. Click Save, then Publish your site.

Visitors will now see your content in their language of choice.

How to Install on WooCommerce

WooCommerce runs on WordPress, so follow the same steps as a WordPress site:

  1. From the admin, go to Appearance → Theme File Editor.
  2. Open header.php under your active theme.
  3. Find the closing </head> tag.
  4. Paste your Flout Translate snippet just above that tag, then save the file.

Flout Translate will work seamlessly with your product pages and checkout flow.

How to Install on BigCommerce

Here’s how to install Flout Translate on a BigCommerce store:

  1. Go to your BigCommerce admin and navigate to Storefront → Script Manager.
  2. Click Create a Script.
  3. Set the location to Head, and choose All Pages.
  4. Paste your Flout Translate snippet and save.

Your BigCommerce storefront will now automatically display in multiple languages.

How to Install on Joomla

To embed Flout Translate on your Joomla site:

  1. In the Joomla admin panel, go to System → Site Templates → Site Template Files.
  2. Select your active template (e.g. cassiopeia ).
  3. Open index.php from the template files list.
  4. Paste your Flout Translate snippet just above the closing </head> tag.
  5. Click Save & Close.

Flout Translate will now automatically translate your Joomla content for visitors.

How to Install on Drupal

To install Flout Translate on your Drupal site:

  1. From your admin panel, go to Appearance → Theme Settings.
  2. Identify your active theme and locate its html.html.twig template file.
  3. Edit the file and paste your Flout Translate snippet just before </head> .
  4. Clear Drupal’s cache to apply the changes.

Your Drupal site will now show content in the visitor’s preferred language.

How to Install on Magento

Add Flout Translate to your Magento 2 site by updating the layout templates:

  1. Locate your Magento theme's directory (e.g. app/design/frontend/YourVendor/yourtheme ).
  2. Open or create the file default_head_blocks.xml inside /Magento_Theme/layout/ .
  3. Add the following block inside the <head> layout tag:
  4. Paste your Flout Translate snippet using a <script> block.
  5. Deploy static content and clear the cache to apply.

Your Magento storefront will now support instant multilingual translation.


The Dashboard
Your central control panel.

The Flout Translate Dashboard is your central control panel for managing every aspect of your website translations. Login to it using the credentials you set up on the account.

Key features include:

*MAJOR NEW FEATURE* Plugin Settings Panel – For each domain you can configure various styles and locations for the language selector on screen. When saved, these will be immediately applied to website pages. Look for the settings cog in the domains section.

Account & Contact Management – Update your account details, contact information, and billing preferences directly from the dashboard.

Domain Management – Add new websites, manage existing ones.

Override Translations – Replace any automatic translation with your own custom version. This is useful for product names, technical terms, or brand-specific wording. This feature is not available for free plans.

AI Context Enhancements – Add optional context notes (e.g. “use casual tone” or “technical style”). Our AI will refine the translations accordingly to better match your brand voice. This feature is not available for free plans.

Usage Statistics – View detailed reporting for each domain: pages translated, characters processed, word counts, and usage per month. This helps track your subscription quota and see how your site is being used in different languages.

Your Domains – See the list of domains linked to your account. Add additional domains to your account.

Billing & Subscription – Manage your subscription securely through Stripe, with the option to update payment details or cancel at any time.


All of these tools are available once you log in to the Dashboard from the main menu. The dashboard is designed to be simple and intuitive, giving you complete control over how Flout Translate works on your sites.

Developer Tools
Use code to do it yourself.


Developers can control some functionality of the plugin and can also configure fine-grained settings at the web page level. These will override anything configured in the Plugin Settings Panel located in the user dashboard.

Careful consideration, an understanding of HTML and proper testing is advised.

Exclude Elements From Translation
This is an important feature so you can block automatic translations where translation is not appropriate.

To prevent parts of your page from being translated, add the `notranslate` class to any element. This will exclude that element and all of its descendant nodes from being translated by Flout Translate.


<div class="notranslate">
    <p>This content will not be translated.</p>
</div>

Automatic Placement with Data Attributes

If `data-auto-selector` is set to `true`, the language selector is automatically displayed. You can customize its visual style and position by adding any of the following attributes to your snippet.


  <script src="https://flouttranslate.com/js/amashv3.1/flout-tloader.min.js"
      data-selector-background-color="pink"
      data-selector-text-color="red"
      data-selector-border-color="green"
      data-selector-vertical-scroll="fixed"
      data-selector-position="top-left"
      data-selector-icon-url="https://flouttranslate.com/images/selector-translate-dark.svg"
      data-selector-show-flags="false">
  </script>
  
Item Name Description Values Default If Not Present
data-selector-background-color Controls the color of the selector background.

You can use any valid CSS color value, such as:


  • Named colors: "red", "blue", "transparent", etc.

  • Hexadecimal colors: "#FF0000", "#00FF00", "#0000FF", etc.

  • RGB colors: "rgb(255, 0, 0)", "rgb(0, 255, 0)", "rgb(0, 0, 255)", etc.

  • RGBA colors: "rgba(255, 0, 0, 0.5)", "rgba(0, 255, 0, 0.5)", etc.
white
data-selector-text-color Controls the color of the selector language names. Same color options as background-color. #404040
data-selector-border-color Controls the visibilty and color of the selector border.
  • "transparent": No border visible.

  • Same color options as background-color.
#404040
data-selector-vertical-scroll Controls whether the selector scrolls with the page or is fixed in the window position as configured in data-selector-position.
  • "fixed": The selector will be fixed in the window position, even when the page scrolls.

  • "with-page": The selector will scroll with the page.
with-page
data-selector-position Controls the position of the selector on the page.
  • "top-left"
  • "top-center"
  • "top-right"
  • "bottom-left"
  • "bottom-center"
  • "bottom-right"
  • "static"
top-right
data-selector-icon-url This overrides the default language selector placeholder visual.
You can use your own icon just add your own link.
  • "https://flouttranslate.com/images/selector-translate-dark.svg"

  • "https://flouttranslate.com/images/selector-translate-light.svg"
data-selector-show-flags Shows the country flag that best matches each language in the drop down selector.
  • true – Shows the flags.
  • false – Doesn't show the flags.
true

Manual Placement
Tip: This is great for placing the language selector in menus.

For more control, you can place the language selector element tag <ft-selector></ft-selector> anywhere in your HTML. It must only be used once on the page. If you implement this feature, you will be in control of where the language selector appears, so do not use the positioning attributes described above.


Also, you must set data-auto-selector="false" so the plugin does not create one automatically. And set data-selector-position="static".


Note that the selector will still be auto filled with the languages and will still operate the in the default manner. This feature is only for manual placement of the selector on the page.

Manual CSS Styling
Make it your own!

You can use the ::part pseudo-element to style the selector by targeting its shadow DOM parts individually. The selector is now split into three parts: button, panel, and item. This gives you fine-grained control over each part’s appearance.


/* ::part(button) → the clickable element that shows the currently selected language (the dropdown trigger). */
ft-selector::part(button) {
    font-size: 16px;
    color: blue;
    background-color: #f0f0f0;
    border: 1px solid green;
    padding: 5px;
    border-radius: 5px;
}

/* ::part(panel) → the dropdown container that appears when you click the button (the list background).*/
ft-selector::part(panel) {
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

/* ::part(item) → each individual language option inside the dropdown list. */
    padding: 5px 10px;
    cursor: pointer;
}

ft-selector::part(item):hover {
    background: #f5f5f5;
}
    

Plugin Functionality & Basic Configuration

                  <script src="https://flouttranslate.com/js/amashv3.1/flout-tloader.min.js"
                      data-base-language="fr"
                      data-target-language="auto"
                      data-language-list="en,fr,es,de"
                      data-translate-on-load="false"
                      data-auto-selector="false">
                  </script>
                  
Item Name Description Values Default If Not Present
data-base-language Two character language code that defines the base language the web site content is produced in. Must be one of the flout translate language codes, see the list later in this document. We derive it from scanning the page to determine the base language.
data-target-language Sets the startup language if data-translate-on-load is true. "auto" (attempts to detect the user’s preferred language) or a fixed language code (e.g., "fr" for french) auto
data-language-list Defines available languages for translation and is also the content of the visible language selector. Use a comma-separated list of language codes. These also form the content of the selector dropdown list. It is standard practise to have the base language code for the page at the beginning of the list. Comma-separated list of language codes (e.g., en,fr,es,de)

Some price tiers have limits for the number of languages permitted. See the Pricing Page for details.
If this item is not present the default list is en,fr,de,zh,es,ar,ru,hi,it. If there is only one item in the list then all languages will be included.
data-translate-on-load Controls whether translation happens automatically when the page loads. Also, see data-target-language to determine which target language will be used.
  • true – Automatically translates on page load.
  • false – Does not automatically translate on load.
true
data-auto-selector Controls whether the Flout Translate dropdown language selector is automatically added to the page. See the sections below describing advanced selector configuration.
  • true – Adds the Flout Translate language selector to the page.
  • false – Does not add it to the page.
true

Language Changed Event

Developers can monitor for a language change event issued by flout translate whenever the target language is changed.


window.addEventListener("ft-languagechange", (event) => {
    const newLang = event.detail.languageCode;
    console.log("Event: Language changed to:", newLang);
    // other code here
});

Using the Flout Translate Global Object

Flout Translate publicly exposes some methods and properties of its global page scoped object for use in page code so developers can enhance their site visitor experience beyond the plugin's automated functionality.

WARNING: Ensure you configure the plugin functionality to stop automatic features that will conflict with your code. If these are not carefully managed, you can encounter infinite process loops between the plugin automatic features and your own code use of the plugin object methods. This can be catastrophic for your website.

Method Description
`FloutTranslator.translateTexts(textArray)` Pass this method an array of text strings and it will return an array of translated text strings. This is an asynchronous method and returns a promise.
`FloutTranslator.changeLanguage(languageCode, runTranslate = true)` Changes the target language and can trigger a page translation. This is typically used if the developer wants to manage their own language selector UI. This method returns true on success and false if not. This is an asynchronous method and returns a promise.
Property Description
`FloutTranslator.targetLanguageCode` Returns the current translation target language code selected.
`FloutTranslator.sourceLanguageCode` Returns the translation source (site base) language code.
Language Codes List
Only use these.
Code Language Name
af🇿🇦 Afrikaans (Afrikaans)
am🇪🇹 አማርኛ (Amharic)
ar🇸🇦 العربية (Arabic)
az🇦🇿 Azərbaycan dili (Azerbaijani)
be🇧🇾 Беларуская (Belarusian)
bg🇧🇬 Български (Bulgarian)
bn🇧🇩 বাংলা (Bengali)
bs🇧🇦 Bosanski (Bosnian)
ca🇪🇸 Català (Catalan)
cs🇨🇿 Čeština (Czech)
cy🏴 Cymraeg (Welsh)
da🇩🇰 Dansk (Danish)
de🇩🇪 Deutsch (German)
el🇬🇷 Ελληνικά (Greek)
en🇬🇧 English (English)
es🇪🇸 Español (Spanish)
et🇪🇪 Eesti (Estonian)
fa🇮🇷 فارسی (Persian)
fi🇫🇮 Suomi (Finnish)
fr🇫🇷 Français (French)
ga🇮🇪 Gaeilge (Irish)
gl🇪🇸 Galego (Galician)
gu🇮🇳 ગુજરાતી (Gujarati)
he🇮🇱 עברית (Hebrew)
hi🇮🇳 हिन्दी (Hindi)
hr🇭🇷 Hrvatski (Croatian)
ht🇭🇹 Kreyòl Ayisyen (Haitian Creole)
hu🇭🇺 Magyar (Hungarian)
hy🇦🇲 Հայերեն (Armenian)
id🇮🇩 Bahasa Indonesia (Indonesian)
is🇮🇸 Íslenska (Icelandic)
it🇮🇹 Italiano (Italian)
ja🇯🇵 日本語 (Japanese)
ka🇬🇪 ქართული (Georgian)
kk🇰🇿 Қазақ тілі (Kazakh)
km🇰🇭 ភាសាខ្មែរ (Khmer)
kn🇮🇳 ಕನ್ನಡ (Kannada)
ko🇰🇷 한국어 (Korean)
ku🇹🇷 Kurdî (Kurdish)
lt🇱🇹 Lietuvių kalba (Lithuanian)
lv🇱🇻 Latviešu valoda (Latvian)
mi🇳🇿 Te Reo Māori (Maori)
mk🇲🇰 Македонски (Macedonian)
ml🇮🇳 മലയാളം (Malayalam)
mn🇲🇳 Монгол хэл (Mongolian)
mr🇮🇳 मराठी (Marathi)
ms🇲🇾 Bahasa Melayu (Malay)
mt🇲🇹 Malti (Maltese)
my🇲🇲 မြန်မာစာ (Burmese)
ne🇳🇵 नेपाली (Nepali)
nl🇳🇱 Nederlands (Dutch)
no🇳🇴 Norsk (Norwegian)
pa🇮🇳 ਪੰਜਾਬੀ (Punjabi)
pl🇵🇱 Polski (Polish)
ps🇦🇫 پښتو (Pashto)
pt🇵🇹 Português (Portuguese)
ro🇷🇴 Română (Romanian)
ru🇷🇺 Русский (Russian)
sk🇸🇰 Slovenčina (Slovak)
sl🇸🇮 Slovenščina (Slovenian)
sm🇼🇸 Gagana Samoa (Samoan)
so🇸🇴 Soomaali (Somali)
sq🇦🇱 Shqip (Albanian)
sr🇷🇸 Српски (Serbian)
su🇮🇩 Basa Sunda (Sundanese)
sv🇸🇪 Svenska (Swedish)
sw🇹🇿 Kiswahili (Swahili)
ta🇮🇳 தமிழ் (Tamil)
te🇮🇳 తెలుగు (Telugu)
th🇹🇭 ไทย (Thai)
to🇹🇴 Lea fakatonga (Tongan)
tr🇹🇷 Türkçe (Turkish)
ug🇨🇳 ئۇيغۇرچە (Uyghur)
uk🇺🇦 Українська (Ukrainian)
ur🇵🇰 اردو (Urdu)
uz🇺🇿 Oʻzbekcha (Uzbek)
vi🇻🇳 Tiếng Việt (Vietnamese)
xh🇿🇦 isiXhosa (Xhosa)
yi🇮🇱 ייִדיש (Yiddish)
yo🇳🇬 Yorùbá (Yoruba)
zh🇨🇳 简体中文 (Simplified Chinese - Mainland)
zt🀄️ 繁體中文 (Traditional Chinese - Hong Kong / Taiwan / Macau)
zu🇿🇦 isiZulu (Zulu)

Facebook Facebook
2025 © All rights reserved C2iTInnovation Pty Ltd