Table of Contents
Bubble.io access requirements
The cloud AI automatic translation to be used with Bubble.io requires some access to complete the setup:
- Bubble.io admin access
- Domain DNS modification on Bubble.io
The Bubble.io setup is composed of 4 simple steps:
- Register your domain to authorize the translation
- Modify the domain DNS according to the translation languages
- Add the language flag switcher link to your Bubble.io settings
- Activate Dynamic translation feature.
How to make your Bubble.io Website multilingual in video
Register your Bubble domain
After your connection or registration to the Linguise dashboard, you’ll be asked to register your domain to authorize the translation.
For that purpose, just copy your domain name with the https:// included and select “Other Cloud Hosted CMS” for the platform.
After that, select your source and destination language.
Modify the domain DNS according to the languages
Automatically Add domain DNS using Entri
Once you have successfully registered your website within Linguise dashboard, you’ll have two options to proceed with the installation.
You should probably see this content, If you prefer to automatically add the DNS records, you can click on “Connect your DNS automatically.” This feature, called Entri, will automatically add your DNS records, allowing you to proceed with the installation easily. The other option is to manually copy the DNS in your domain provider.
After clicking the button, Entri will analyze your registered website URL and check your public DNS record. Based on that, it will determine the provider and the DNS that are required.
Next, you can click on “Authorize with [your domain provider]” (in this example, it’s Cloudflare). You will then see the panel changing into your domain provider’s login page, where you can log in and continue.
After you log in into your domain provider, Entri will do the rest, automatically adding the proper DNS records. One DNS per language + one TXT DNS for the validation key.
You should be able to see that DNS is added within your domain. For example:
Once you have authorized it, Entri will notify you that all DNS settings have been configured successfully.
You should be able to use the translation feature as soon as all the DNS entries have been propagated on your domain (usually takes 20/30 minutes).
If you prefer Manual Installation, you can also do this manually by following the steps that we will provide below.
Copy DNS records
After you’ve validated your domain, you’ll be redirected to a screen where the DNS to add to your domain are ready to be copied. These records are required to load your website multilingual pages as fr.domain.com, es.domain.com…
Here are the main elements you’ll need to copy to Bubble.io DNS configuration.
After that, you need to connect to your domain manager and access the DNS setup area. Then, following the instructions, you can copy:
- One TXT record for the domain verification
- One or several CNAME records for the languages
Here’s an example for each record type (TXT and CNAME):
After adding all your records, your configuration should look like that.
Verify DNS validation
After adding all your records to your domain DNS, you can check the DNS propagation by clicking on the button Check DNS configuration.
DNS validation usually takes between 30 minutes and 1 hour. After that, you should see green dots on the right part of the DNS list in the Linguise dashboard. You’re almost ready to translate your Bubble website, just the link to the language switcher with country flags is missing.
Dynamic Translation feature
Technically speaking, Bubble combines JavaScript-coded modules, CSS and HTML into a working Node.js application. Bubble’s own language is based on JSON.
With our “Dynamic Translation” feature, you can seamlessly translate content on your Bubble.io website, including content that loads asynchronously (dynamically) after the page has loaded. This enhancement ensures a smoother multilingual experience for your visitors!
You will need to activate this feature within your Linguise dashboard account Settings.
Once you access your Linguise dashboard, click on your registered domain, and navigate to Settings menu.
You will find this “Translate Dynamic Content” section at the end of the Settings page.
Add the language switcher to the Bubble.io
The language switcher is the flag popup to select the language you want. To load it, you’ll need to copy the code given at the head of your Bubble.io site pages. The flag language switcher will then be loaded automatically on your public website.
The link to copy is given at the end of the domain registration or in the domain settings. Copy the link to clipboard.
Then, go to your Bubble website panel. On the left side menu, click on ‘Settings’ > select “SEO / metatags”.
From the menu settings, scroll down a little bit and you will find Script/meta tags in header under “Advanced Settings“.
Paste the Linguise script you copied before, Click ‘Save’, and publish your site.
Now, on your Bubble.io website frontend, you should have the Linguise language switcher available.
Bubble.io website language switcher design
The language switcher can be customized from the Linguise dashboard > Settings > Language flags display. Every modification here will be reflected on the website.
On the right side of the screen you have the preview of the language switcher. Here are the elements you can setup:
- 3 layouts: side by side, dropdown or popup
- The language switcher position
- The language switcher content
- Language names in English or native language
- Flags shapes and size
- Colors and box shadow
Frontend translation editor on Bubble.io website
The frontend editor facilitates translators to modify any HTML content on Bubble.io in any language. You can edit a page by clicking on a page element and replacing the text, link, or image.
It’s also possible to edit the meta information by clicking on the brackets {}