Articles on: FAQs

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 ⬇️


  1. In your website builder, create the same page with a different language and slug. As shown below.


💡 To learn how to create a New page, refer to the article below —


Adding Multiple Pages to your website




  1. 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>


💡 Do not copy the above-mentioned code as it is and paste it to your site. Make sure you are giving all your Page’s full URLs that you have created.


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:




  • 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


This only works with the CMS Rich Text element. It will not work with the Text element


  1. 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


  1. 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


  1. 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


Add a new Collection


Showcase Collection items on my website

Updated on: 25/06/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!