🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

Tutorial on Using Weglot to Translate a Website into Multiple Languages

How can you make a website multilingual? Naibabiji previously introducedthe method of using Polylang. Today, we will introduce how to use Weglot to create a multilingual website. If your business targets worldwide, building a website in different languages is essential. Typically, translating a website into more than 2 languages is a daunting task for most people, so we can rely on some translation plugins to help. The Weglot introduced in this article can help translate your WordPress website into other languages, thereby attracting potential customers in those languages.

Weglot: Introduction

Weglot翻译多国语言网站教程Weglot is an all-in-one multilingual platform that can automatically translate your website or blog into over 100 languages. The automatic translation feature uses Microsoft, DeepL, Google, and Yandex translation services (depending on the language to be translated). Weglot supports self-editing of translation results to avoid inaccuracies in automatic translations. Other features of Weglot include…
  • Easy to Use –You can seamlessly integrate this multilingual service with your website using Weglot's WordPress plugin. Weglot features are accessible via your WordPress admin interface and the intuitive Weglot dashboard. Automatically translating your website and configuring settings is very fast and simple, allowing you to get a multilingual website up and running in minutes.
  • SEO– Weglot creates subdomains for new languages, so Google can index each page. It also converts all metadata and adds Hreflang tags to all pages.
  • Supported– The Weglot knowledge base provides extensive support documentation, including in-depth „Getting Started“ guides and tutorials, as well as email support.
Weglot offers both free and premium services, but in this article, Naiba will demonstrate using the free version of Weglot. The free version only provides translation for 20,000 words, so if you find the results meet your requirements, you will need to upgrade to the premium version to fully translate your website.

Step 1: Install the Weglot Plugin

First, let's install the Weglot plugin. You can directly search for Weglot in the WordPress Dashboard to install it, or you canclick here to downloadThen upload and install.Weglot翻译多国语言网站教程After installation and activation, you can find the corresponding item from the WordPress admin menu. If you have questions about installing WordPress plugins, please refer to:WordPress Plugin Installation Tutorial_Complete Guide to Popular Essential Plugins

Step 2: Register a Weglot Account

After installing Weglot on your WordPress website, the next step is to register a Weglot account. To do this, openWeglot websitein the left menu bar, then clickStart free trialWeglot翻译多国语言网站教程Register an account on the newly opened page.Weglot翻译多国语言网站教程After submitting the registration application, an email verification will be sent to you. After verification, an API key will be displayed for you.Weglot翻译多国语言网站教程

Step 3: Connect Your Weglot Account and Select the Target Languages for Your Website

Copy the API key value above, then select from the WP Dashboard menuWeglot, then underMain Configuration, paste theAPI KeyWeglot翻译多国语言网站教程Under the API Key, you need to select the website'sOriginal Language(i.e., the language currently in use), then select theTarget Language(the language you want to translate your website into). After selecting the correct language for the website, click the „Save Changes" button at the bottom of the page. Please note that if you are using the free version of Weglot, you can only choose to translate the website into one other language.

Step 4: View Your Multilingual Website

Next, a pop-up window will appear informing you that your website is now multilingual. Click the buttonGo to my homepageto view your site.Weglot翻译多国语言网站教程Visit the website frontend to view. In the lower right corner of the screen, you will find a language switcher. Click the switcher to select your new language.Weglot翻译多国语言网站教程After clicking, it will automatically switch to the website in the translated language, including menus, post content, sidebars, and other content, all of which have been translated.

Step 5: Customize the Language Switcher

Switch back to the WordPress Dashboard, then scroll down theWeglot > Main Configurationpage to find theLanguage Button Designsection.Weglot翻译多国语言网站教程Here, you can choose the appearance of the language switcher. These include...
  • Display country flags.
  • Change the shape of the flags.
  • Use the full name of the language.
You can also choose to override the settings by adding CSS to give the button a specific style. Continue scrolling down the page for more information on how to change the position of the language switcher. Options include…
  • Menu –Add the switcher to your site's menu bar.
  • Sidebar – Display the language switcher in the sidebar or any other widget area.
  • Shortcode – Use Weglot's pre-generated shortcode[weglot_switcher] to add the switcher to your website's content.
  • Source Code – Add<div id='weglot_here'></div> to the HTML page's source code to display the language button anywhere on the site.
If you make any changes to the language switcher, be sure to click the „Save ChangesButton.

Step 6: Configure Additional Settings

Weglot also has advanced settings. Under „Translation Exclusions", you can choose to exclude certain pages or specific parts of pages from translation. (By default, Weglot translates all content on every page of your website). To exclude content, simply type the URL of the page or the CSS selector of the section you do not want translated.Weglot翻译多国语言网站教程Other useful settings include...
  • Auto Redirect – Select this option to redirect users to the appropriate translation of your site based on their browser language.
  • Translate AMP – Select to automatically translate Accelerated Mobile Pages.
  • Search Feature – Although only in Beta, this feature will allow your users to search your website in the translated language.

Step 7: Manually Edit Translations

While automatic translation is convenient, the results are not 100% accurate. Weglot also provides an option to manually adjust the automatic translations, which can be done within the Weglot interface. Open the Weglot Dashboard, then select from the left menuVisual Editor > START EDITINGWeglot翻译多国语言网站教程In the editing interface that appears, you can manually edit content where the automatic translation was inaccurate.Weglot翻译多国语言网站教程Any changes you make in the editor will be automatically pushed to your live site.

Summary

Weglot is simple, fast, and user-friendly. However, the free version comes with a word limit. If you are satisfied, you can consider purchasing a premium plan to remove the restrictions.Further Reading:
  1. WordPress Multilingual Plugin Polylang Tutorial_Foreign Trade Multilingual Website Building
  2. The Scientific Method for Building a WordPress Multilingual Website_Plugins Are Not the Best Choice

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: