How to easily create an article in another language in “Polylang” by duplicating the original article

Web
スポンサーリンク/Sponsored Link

Since last month, I have been working on making this blog multilingual.

I used “Polylang” as a plugin, and although it would be easier to use Google Translate to automatically make it multilingual, I was a little concerned about the quality of the translations, so I decided to use a plugin that allows me to translate and post my own translations.

Since I have just started working on this, it is still a trial and error process, and there does not seem to be enough information on the web, so I will gradually introduce what I have found out.

For translation from Japanese, we used DeepL. Screenshots are taken from a Japanese environment. We will replace them with English screenshots as much as possible.

スポンサーリンク/Sponsored Link

How to create a new article in another language in Polylang

Generally, most information says to create from the “+” in the list of posts.

Now, when introducing Polylang and actually creating articles in other languages, the first operation is this.

投稿一覧ページ
タイトル カテゴリーのつぎに、アメリカの国旗があり、その下に+マークが並んでいる

By clicking on the “+” mark, an “English article corresponding to the Japanese article on the left” will be created and set to be smoothly switched by the language switcher, tied together on a one-to-one basis.

If the same articles in different languages are not properly linked together, the transition will not be correct when the reader switches languages.

The downside of this method

This method of creating an article in another language is very difficult.

When you create a new post in another language, it is a blank, empty post.

タイトルも記事もなにも入っていない、まっさらな記事作成画面

We really want to create articles in other languages by “duplicating” the original article, switching the language of the duplicated article, and then gradually translating it. This would be by far the easiest way to do it.

言語
アメリカの国旗 English
プルダウンメニューに「日本語」
Polylang導入後の投稿には、右ペインにこのような言語スイッチャーが出てくる

I was about to give up, thinking that it would be impossible to just duplicate an article and switch the language of that article, because it would fail because it would not be tied to the original article.

スポンサーリンク/Sponsored Link

How to link an article created by duplicating the original article as a different language version

There is actually a way to duplicate the original article, switch only the language, and then link the article in another language to the original article.

How to link duplicated articles in other languages to the original article

1. Duplicate the original article

Plug-ins make it easy to duplicate articles. We use Yoast Duplicate Post.

投稿一覧画面に、プラグインによって追加された「複製」ボタン

2. Switching the language of duplicated articles

Once you have duplicated the article, enter the edit screen of the duplicated article.

元記事と、複製した記事が並んでいる
複製した記事のほうをクリック

At this point, the duplicated article is an independent Japanese article, since it was just duplicated. If we were to “publish” the article as is, it would be as if there were two exactly the same articles.

複製したばかりの記事。元の記事とまったく同じ内容です

Use the language switcher in the right pane of the duplicated article to switch the language of the article.

However, the operation so far still only results in an independent English article.

3. Operation to be tied to the original article.

I just switched languages, and under the “Translate” column, I see the Japanese flag.

Clicking the “+” mark here will create a new article in another language (in this case, Japanese).
Instead, enter part of the title of the original Japanese article in the input field on the right.

Then, like this, you can search from existing article titles and find articles with linking candidates. By clicking on it, you can decide which article will actually be linked as a different language version.

4.Update article

In this way, after performing the linking operation, update the article or save it as a draft.

The “+” mark on the right side of the original article has changed to a pencil mark.

You can see that the article you created by duplicating is recognized as a different language version.

Information from PC Classes and Curio Station Shiki
レッスンはオンラインで受講できます

パソコン教室・キュリオステーション志木店では、本年よりオンラインでの在宅レッスンを実施しております。
教室の全コースがオンラインで受講可能。実際にインストラクターがご対応いたします。
1時間の無料体験レッスンはいつでも予約できます。詳しくは公式ページをご覧ください。

キュリオステーション志木店運営をフォローする

コメント

Copied title and URL