In this guide, we show how you can make your Website Builder site multilingual. As an example, we are adding a Danish version to an English site.
After following this guide, the overall structure of your website is in place, and you can start adding the translated content to the new pages.
- Step 1 - Make all pages subpages of your main home page
- Step 2 - Rename your home page
- Step 3 - Duplicate pages for the additional language
- Step 4 - Add links to the home page of each language
- Step 5 - Change the start level for your menu
- Step 6 - Add a new menu to the page as a language selector
- Step 7 - Add the translated text and publish your site
Step 1 - Make all pages subpages of your main home page
Start by turning all pages into subpages of your main home page; see the screenshot for how it should look. Check our guide if you need more information on how to do this: How do I add a subpage?
Step 2 - Rename your home page
Next, you need to rename your home page to the language it represents. What you enter here will become the text your visitors click to change to this language. In this example, we've used "EN" to indicate English, but you can call it whatever you want.
- Open the pages menu.
- Right-click on your home page and select Settings.
- Change the page name in the menu to "EN", another language, or another name you prefer.
- Change the folder name to "en" as well, in lowercase. Make sure there are no special characters or spaces here, as the URL title is sensitive to this.
- Click Save.
Step 3 - Duplicate pages for the additional language
Make a duplicate of each page for the other language. A duplicate page is a copy of the original page, making it easy to add the translated text.
- Open the pages menu.
- Right-click on the first page and click Duplicate page.
- Enter a name for the page - the translated version of the original page - and click OK.
- Repeat this until you have a duplicate of each page.
- Turn the pages into subpages of the home page of the new language; see the screenshot for how it should look.
Step 4 - Add links to the home page of each language
To make the home page visible in the menu with the other pages, you need to create a link to each home page in the menu.
- Open the pages menu.
- Click the button to add a link to the menu. It's the white/blue one with a chain.
- Click Link in the menu to the left.
- Click the button Link to file or page in the top-right corner.
- Select the (front) page you want to link to and click Save.
- Type the name for your home page that should be visible in the menu under Link title.
- Click Add to save your settings.
- Make the link a subpage of the actual home page you are linking to; see the screenshot.
- Repeat this for each language.
Step 5 - Change the start level for your menu
The next step is to fix the menu. Due to the changes you just made, your menu only shows the language pages.
- Select the menu component on your page.
- Click Edit menu, which appears above or below the menu component.
- In the settings that appear, change the start level to Pages on second level.
- Click Style to adjust the styling of the menu. You can always choose between two styles for the main menu and submenu, respectively. You can edit each style by clicking the gear icon.
Step 6 - Add a new menu as a language selector
Finally, you should add a new menu to your website template that allows visitors to change the language.
- Click More in the menu to the left.
- Go to Navigation and choose a horizontal menu.
- Drag the menu to your page and place it in the header at the top. This way, the menu will be visible on all pages using this template.
- Click Edit menu, which appears above or below the menu component.
- Change the menu type to horizontal single level.
- In the pop-up menu, click Style if you want to change the styling of this menu (optional).
- Adjust the size and placement of the menu to your liking and click Save.
Note: The changes that you make to both menus will only be consistent across pages that use the same template. If you have a different template on one page, the menus might look different (for example, they might be vertical instead of horizontal). We recommend using the same template across pages as this will make it easier to navigate the site when it has more than one language option.
Step 7 - Add the translated text and publish your site
The structure of your site is now done. So you can start adding the translated text and other content. Click Preview if you want to see how your site will look.
Once you have added the translated content, you can publish your site to make it visible online.
Note: The menu links to your home pages that you added, don't work in preview mode. They will work once you site has been published.
Related articles: