> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/translations/how-to-setup-multilingual-courses.md).

# How to setup multilingual courses

Our app doesn't provide course content translation, you need create separate courses for different languages

This is example to create and sell courses in 2 languages: English and Vietnamese

### Step 1 - Create separate courses for different languages

You can follow this guide to create your first course

[How to create first course](https://gitlab.com/trong-gitbook/online-course-gitbook/-/tree/main/translations/README.md#id-2.-create-your-course-content-from-our-app)

1 - Create English course

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-ede8db9962c2180f361b35517634ebd2793b8418%2Fimage.png?alt=media" alt="Clicking Add course on the Courses page"><figcaption><p>From our app -> Courses -> Click <strong>Add course</strong> button</p></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-91650bdfeb70b6a18d84b60cdfcf8fd4f8583ff9%2Fimage.png?alt=media" alt="Naming the English course and saving it"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-3f3834e172ce5e0ea0c3dcb27a67581932cc0a07%2Fimage.png?alt=media" alt="The English course created"><figcaption></figcaption></figure>

2 - Create Vietnamese course

From English course editing page -> Duplicate it

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-f0ad2b488f30d1b9c21b9362445fab7e8d71d076%2Fimage.png?alt=media" alt="Duplicating the English course from its editing page"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-56b69ccbd972a6a8ee013f2144eeb71ea780ea09%2Fimage.png?alt=media" alt="Naming the Vietnamese copy"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-4fcaee1ed6356a240317159f4b3c77c9829d054c%2Fimage.png?alt=media" alt="The Vietnamese course created next to the English one"><figcaption></figcaption></figure>

### Step 2 - Sell multilingual courses

1 - Create product with separate variants

From your Shopify admin -> Products -> Click **Add product** button

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-c91778e04065cc768c323341cc15c4c137c8fbde%2Fimage.png?alt=media" alt="Creating a product with one variant per language"><figcaption></figcaption></figure>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-01e14c239d086e17714f4913cb1bed0999d1359a%2Fimage.png?alt=media" alt="Filling in the product details for the multilingual product"><figcaption></figcaption></figure>

* Please click **Save** button to save your change

2 - Link product to each course

* 1 - From our app -> Courses -> Edit English course \*

  ```
  <figure><img src="../.gitbook/assets/image (8).png" alt="Opening the English course to link its product variant"><figcaption></figcaption></figure>
  ```
* Link variant \*

  ```
  <figure><img src="../.gitbook/assets/image (9).png" alt="Choosing the English variant for the English course"><figcaption></figcaption></figure>

  <figure><img src="../.gitbook/assets/image (10).png" alt="Confirming the linked variant"><figcaption></figcaption></figure>

  <figure><img src="../.gitbook/assets/image (11).png" alt="The English course linked to its variant"><figcaption></figcaption></figure>
  ```
* 2 - Do same thing for Vietnamese language \*

  ```
  <figure><img src="../.gitbook/assets/image (12).png" alt="Linking the Vietnamese variant to the Vietnamese course"><figcaption></figcaption></figure>

  <figure><img src="../.gitbook/assets/image (13).png" alt="The Vietnamese course linked to its variant"><figcaption></figcaption></figure>
  ```

### Step 3 - Testing

You can find product from Online store to place a test order<br>

<figure><img src="https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-02fe708d2841988007d8c5367589f92580ed9dcf%2Fimage.png?alt=media" alt="A test order placed for the multilingual product"><figcaption></figcaption></figure>
