Integrating Weglot and Shifter

Requirements: A Weglot account

The following WordPress plugins help you insert the code provided by Weglot into the `head` element.

  • Insert Headers and Footers
  • Scripts n Styles
  • Head, Footer and Post Injections

Related Resources: How to Add JavaScript Snippets or CSS to the Header or Footer of a Static Site

Sign Up

Go to Weglot and translate your website. Click the [Start your free trial] button.

Project Settings

Create a project.

  • Project Name: The name of your Weglot project (e.g., MyWeglot project)
  • Website Technology: Select “Other.”

Click the [Next] button.

Configure the details.

  • Domain URL: The URL or domain name of the website you want to translate (e.g., example.com).
  • Source Language: The language of the source website (e.g., English).
  • Target Language: The target language you want to translate to (e.g., Japanese).

Click the [Next] button.

DNS Settings

If you are familiar with DNS services, you can add the provided DNS records to your DNS server. However, click the [you can skip this step] link.

Copy the Weglot Snippet

Click the [Copy] button to copy the JavaScript snippet.

Add the Copied Code to Your Website

Return to the Shifter dashboard, launch WordPress, and access it. Click the [Dashboard] button to log in to the WordPress dashboard.

Install a code injection plugin. For more information, refer to a separate support document: How to add a JavaScript snippet or CSS to the header or footer of a static site

Generate an artifact

After adding the JavaScript snippet, generate the artifact to complete all configuration steps.

Complete the configuration

Return to Weglot and click the [Go to my translations] button.

Review the translations

Original post: The source text is the first paragraph of the WordPress – Wikipedia article.

Click the [English] menu at the bottom of that page.

Select [Japanese] (target language).

……And here is the translated text (Japanese)

That’s it! Enjoy your multilingual site!