Translate Your Website with Ease Using Weglot

Translate Your Website with Ease Using Weglot

Table of Contents:

  1. Introduction
  2. Creating a Weglot Account
  3. Integrating Weglot with a CMS (WordPress, Shopify, etc.)
    • WordPress Integration Guide
    • Shopify Integration Guide
  4. Integrating Weglot with a Headless CMS or Building a Website from Scratch
    • Javascript Integration
    • Setting Up DNS Records
  5. Customizing Translations and Language Switcher
  6. Managing a Multilingual Website with Weglot
  7. Setting Up Subdomains for Language Options
  8. What is a Subdomain?
  9. Enabling Subdomains in Weglot Dashboard
  10. Setting Up DNS Records for Subdomains

How to Integrate Weglot to Your Website

Are you looking to make your website multilingual? Look no further! In this guide, we will walk you through the process of integrating Weglot into your website, whether you're using a CMS like WordPress or building a website from scratch. Follow the steps below to get started.

1. Introduction

Adding multilingual support to your website is essential for reaching a global audience and improving user experience. Weglot provides an easy solution for translating your website into multiple languages, allowing your visitors to switch between languages seamlessly.

2. Creating a Weglot Account

To begin, you'll need to create a Weglot account. Start by clicking here to start your free trial. Simply enter your email address and create a password to get started. Once you've confirmed your account through the email sent to you, you can proceed to create your first project.

3. Integrating Weglot with a CMS

WordPress Integration Guide

If your website is built on WordPress, Weglot offers a specific integration guide tailored to this CMS. You can find the detailed instructions here.

Shopify Integration Guide

For Shopify users, there is also a dedicated integration guide available. You can access it here for step-by-step instructions on how to integrate Weglot with Shopify.

4. Integrating Weglot with a Headless CMS or Building a Website from Scratch

If you're using a headless CMS or building a website from scratch without the help of a CMS, the general integration process is for you. Follow the steps below to integrate Weglot into your website.

Javascript Integration

The Javascript integration allows you to add Weglot to your website without an active domain name. This is particularly useful if your website is still in the development or design phase. Here's how to implement the Javascript integration:

  1. Choose the original language of your website and the language(s) you want to translate your website into.

    • Pros: No need for an active domain name.
    • Cons: Requires adding code to your HTML pages.
  2. Copy the provided Javascript code.

  3. If you're using a CMS, find a section in your dashboard where you can add code to the head section of your HTML pages (e.g., settings and code analytics).

    • Pros: Easy integration for CMS-based websites.
    • Cons: Specific steps may vary depending on the CMS used.
  4. Paste the copied code into the designated section and save your changes.

Setting Up DNS Records

If you already have a domain URL, you can set up subdomains using Weglot. This step is crucial for multilingual SEO, as it allows you to organize and navigate different sections of your website. Here's how to set up DNS records:

  1. Go to your Weglot dashboard, navigate to settings and setup, and enable subdomains.

  2. Enter your domain URL and click next.

  3. Access your domain name management dashboard (e.g., GoDaddy) to set up DNS records.

    • Pros: Enhanced multilingual SEO.
    • Cons: Requires a domain name.
  4. Add a new record with the type "CNAME" and the host as the language code for the translated language(s) of your website (e.g., fr for French).

    • Pros: Improved organization and navigation for translated pages.
    • Cons: Requires manual configuration for each language.
  5. Save your changes and repeat the process for each language you want to translate your website into.

  6. Return to your Weglot dashboard and check if your DNS records are validated.

    • Pros: Clear visibility of DNS record status.
    • Cons: Validation process may take time.

5. Customizing Translations and Language Switcher

Once you have integrated Weglot into your website, you can customize the translations and language switcher to match your preferences. Whether you want to edit the translations or customize the language switcher's appearance, Weglot offers a range of options to meet your needs. Explore our tutorials playlist for detailed instructions on managing your multilingual website with Weglot.

6. Managing a Multilingual Website with Weglot

Weglot provides a comprehensive set of tools and features to help you effectively manage your multilingual website. From translating content to optimizing SEO, Weglot has you covered. Visit our tutorials playlist to uncover everything you can do to maximize the potential of your multilingual website with Weglot.

7. Setting Up Subdomains for Language Options

To further enhance language options on your website, setting up subdomains is highly recommended. Subdomains allow you to separate and organize translated pages, improving user experience and multilingual SEO. If you haven't set up subdomains during the initial integration, follow the steps below:

  1. Enable subdomains in your Weglot dashboard settings.

  2. Enter your domain URL and click next.

  3. Configure your DNS records to include subdomains for each translated language. Refer to our integration page for detailed instructions on configuring DNS records with various domain name providers.

  4. Validate your DNS records by checking their status in the Weglot dashboard. In the DNS records section, look for green ticks indicating successful validation.

8. What is a Subdomain?

A subdomain is an additional part of your main domain name that allows you to organize and navigate different sections of your website. In the context of Weglot, subdomains are used to separate translated pages and provide language options to website visitors.

9. Enabling Subdomains in Weglot Dashboard

To enable subdomains in your Weglot dashboard, follow these steps:

  1. Go to your Weglot dashboard.

  2. Navigate to the settings and setup section.

  3. Enable subdomains by toggling the corresponding switch.

  4. Enter your domain URL and click next to proceed with the setup.

10. Setting Up DNS Records for Subdomains

To set up DNS records for subdomains, follow these steps:

  1. Access your domain name management dashboard, such as GoDaddy.

  2. Locate the DNS settings section.

  3. Add new CNAME records for each language subdomain, using the language code as the host (e.g., fr for French).

  4. Save your changes and wait for the DNS records to propagate.

  5. Return to your Weglot dashboard and check the validation status of your DNS records. Green ticks indicate successful validation.

Congratulations! Your website is now fully translated and optimized for multilingual SEO. Should you encounter any issues or need further assistance, don't hesitate to reach out to our support team at support@weglot.com.

Until next time, happy translating!

Highlights:

  • Weglot provides an easy solution for making your website multilingual.
  • Users can integrate Weglot with popular CMS platforms like WordPress and Shopify.
  • For headless CMS or custom-built websites, Weglot offers a general integration process using Javascript and DNS records.
  • Customization options for translations and language switcher are available.
  • Weglot provides a comprehensive set of tools for managing a multilingual website.
  • Setting up subdomains is recommended for enhanced multilingual SEO.
  • Subdomains help organize translated pages and provide language options to website visitors.

FAQ:

Q: Can I integrate Weglot with my WordPress website? A: Yes, Weglot offers a specific integration guide for WordPress users. You can follow the guide provided in the article for detailed instructions.

Q: I'm building a website from scratch. How can I integrate Weglot? A: If you're not using a CMS or building a website from scratch, you can integrate Weglot using the Javascript integration and setting up DNS records. The article provides step-by-step instructions for both methods.

Q: Can I customize the translations and language switcher? A: Yes, Weglot allows you to customize translations and the language switcher to match your preferences. You can find detailed instructions in the article.

Q: How can I set up subdomains for language options? A: If you want to set up subdomains for language options, you can follow the steps outlined in the article. It is highly recommended for improved organization and navigation of translated pages.

Q: Is Weglot suitable for multilingual SEO? A: Yes, Weglot optimizes your website for multilingual SEO by allowing you to set up subdomains for different languages. This helps search engines understand and index your translated content effectively.

I am a shopify merchant, I am opening several shopify stores. I use ppspy to find Shopify stores and track competitor stores. PPSPY really helped me a lot, I also subscribe to PPSPY's service, I hope more people can like PPSPY! — Ecomvy

Join PPSPY to find the shopify store & products

To make it happen in 3 seconds.

Sign Up
App rating
4.9
Shopify Store
2M+
Trusted Customers
1000+
No complicated
No difficulty
Free trial