How can I make a multilingual site?
Getting Started
In this documentation, you will learn the process required to Make a Multilingual Site in Dorik with the help of a Custom Code element & Third-party app like Weglot.com. Follow all the instructions below to know the details.
Make a multilingual site using Custom Code
To make your site multilingual in Dorik, follow all the steps below:
- Go to the site that you want to make multilingual.
- Create the same page with a different language and slug.
- Add a Custom Code element where you want to show your Multilingual Button
- Click on
Edit Element - To switch one language to another, enter the below-mentioned “Custom Code” under the HTML field.
The Screenshots & GIF below show the whole process being demonstrated visually ⬇️
- In your website builder, create the same page with a different language and slug. As shown below.
Adding Multiple Pages to your website


- Add a Custom Code element, click on
Edit Element& enter the below-mentioned Custom Code under the HTML field.
<select class="form-select form-control" aria-label="Default select example" onchange="location = this.value;">
<option value="https://multilingualsite.dcms.site/en-restaurant" selected>🇺🇸 En</option>
<option value="https://multilingualsite.dcms.site/fr-restaurant">🇫🇷 Fr</option>
<option value="https://multilingualsite.dcms.site/es-restaurant">🇪🇸 Es</option>
</select>
<style>
.form-control {
border-radius: 6px;
padding: 10px 0px 10px 0px;
background-color: #fdf6ed;
}
</style>
To see the process at a glance, refer to the GIF below —

Make a multilingual site using Weglot
To make your site multilingual in Dorik using Weglot, follow all the steps below:
- Log in to your Weglot account and create a new project.

- Select Dorik as your Website Technology.

- Choose your original language and the language(s) you want to translate into.

- Copy the Weglot API key from your Weglot dashboard.

- In Dorik, go to Site Settings & Integrations > General > Website Translation.

- Paste your Weglot API key, click Publish, then visit your site to check the language switcher.

Translate the CMS Rich Text Element through Weglot
- Click on Edit CMS Row Style then do the following:
- Add Rich Text Element
- Content as text type
- again click Edit CMS Row Style
- go to Advanced
- Add HTML Selector ID
- Publish changes
- Now got Projects in you Weglot account dashboard complete these steps:
- Click on your project
- App Settings
- Add Dynamic
- Type in the HTML Selector ID(include the # tag), and click Save
- Go to you website and click Publish
- Check if the configuration is working correctly.
- To see the process at a glance, refer to the Video below —
If you'd like, you can sign up for Weglot's affiliate program here.
Related articles
Showcase Collection items on my website
Updated on: 25/06/2026
Thank you!