Clone project

Clone project creates a twin site in the other language. For example, an English project shows Clone Chinese version in the More menu, while a Chinese project shows Clone English version.

Cloning copies help documentation, website pages, the blog, images, and project configuration, then translates user-visible text into the target language. The source project is not modified.

Before you start

  • Save all changes to the source project's help documentation, website pages, and blog.
  • A project directory can contain at most one Chinese project and one English project. If the target language twin already exists, the page reports that a Chinese or English documentation project already exists in that directory.
  • Opening the dialog does not start cloning automatically. Click Start clone when you are ready.
  • You may close the dialog while cloning. The task continues in the background; reopen it with View clone progress from the More menu.

粘贴的图片

Create a clone

  1. Open the More menu in the upper-right corner.
  2. Choose Clone English version or Clone Chinese version.
  3. Review the target project name. The name normally adds an _en or _zh suffix to the source project name.
  4. Check the target language and the copy scope described in the dialog.
  5. Click Start clone.

Clone steps

The dialog reports progress through these steps:

  1. Prepare project: checks the source project and prepares the target directory.
  2. Copy help documentation: copies Markdown files, the sidebar, and chapter assets.
  3. Translate help documentation: translates user-visible text into the target language.
  4. Copy website and blog: copies website pages and blog articles.
  5. Translate website and blog: translates headings, body text, button labels, and blog content.
  6. Copy images and screenshots: keeps the source image files for later replacement or manual capture.
  7. Create independent project: creates the project and switches to it.

While help documentation is being translated, the step shows a running count such as 6/170. The task can take a long time; closing the dialog does not stop it.

Continue after a failure

If cloning is interrupted by the network, model service, or a file error, reopening the clone dialog shows The previous clone did not finish.

  • Continue from failure: reuses the checkpoint and does not retranslate help documents that already completed.
  • Start over: discards the checkpoint and starts from the beginning.

After choosing Continue from failure, the task resumes from the step that failed.

After cloning

A successful clone creates and switches to the new project. Review:

  • The project code, title, and language.
  • The help-document directory, chapter text, and navigation.
  • Website pages, blog articles, and button labels.
  • Images that still show the source language.
  • The custom domain or twin-site address that the new project should use.

You can now open Batch screenshot refresh for help-document screenshots, or replace them manually chapter by chapter.