1.INTRODUCTION

Learnpress plugin and Eduma theme are integrated with the Polylang plugin that you can use to build a multilingual website.

With Polylang, you can translate course pages, posts, pages, media, categories, tags and translate custom post types, custom taxonomies, widgets, navigation menus as well as URLs.

You can download Polylang plugin here.

Or you can go to Dashboard => Plugins => Add new => Search “Polyang”.

In this tutorial we will show you how to translate our course page and our theme.

2.HOW TO CONFIGURE

Step 1: After installing Polylang plugin, it will redirect to Setup Wizard or you can click Run Setup Wizard.

Step 2: Select languages => click Add new language => Click continue.

Step 3: Enable/disable allow Polylang to translate media => Click continue.

Step 4: Select default language => Click continue => Return to the Dashboard.

Step 5: Go to Languages => Settings => Click Settings of Custom post types and Taxonomies.

Step 6: Enable all post types and taxonomies that you want to translate => Click Save Changes.

 

3.TRANSLATE LEARNPRESS

After the configuration is completed, you can start translating pages, courses, lessons, quizzes, and questions.

3.1.TRANSLATE PAGES OF LEARNPRESS

Step 1: Select a language on admin topbar.

Step 2: Go to Learnpress => Settings => General tab => Create new page for that language. (You need to create page for All courses page, Profile page, Checkout page, Become instructor page, Terms and conditions)

 

 

 

3.2.TRANSLATE CONTENT OF COURSES

NOTE: If you have courses that were created before installing Polylang plugin, you need to edit them and click update. Then you can translate them.

There are 2 ways you can translate content to another language in the course.

First way:

Please go to Dashboard => LearnPress => Courses => Click to Add translation.

Second way:

Please go to Dashboard => LearnPress => Courses => Edit a course => Click to Add translation.

After clicking Add translation, you will need to type course name and description for the new language.

And you need to create whole content of the course like sections, lessons, quizzes… and course settings like a new course.

3.3.TRANSLATE COURSE LESSONS

There are 2 ways you can translate lessons to other languages in the course.

First way:

Please go to Dashboard => LearnPress => Lessons=> Click to Add translation.

 

Second way:

Please go to Dashboard => LearnPress => Lessons => Edit a lesson => Click to Add translation.

After clicking Add translation, you will need to type name, description and configure like when you create a new lesson.

NOTE: After translating, you need to assign lessons to a course.

3.4.TRANSLATE COURSE QUIZZES

There are 2 ways you can translate lessons to other languages in the course.

First way:

Please go to Dashboard => LearnPress => Quizzes=> Click to Add translation.

Second way:

Please go to Dashboard => LearnPress => Quizzes => Edit a quiz => Click to Add translation.

After clicking Add translation, you will need to type name, description and configure like when you create a new quiz.

NOTE: After translating, you need to assign quizzes to a course.

 

3.5.TRANSLATE COURSE QUESTIONS

There are 2 ways you can translate lessons to other languages in the course.

First way:

Please go to Dashboard => LearnPress => Question => Click to Add translation.

Second way:

Please go to Dashboard => LearnPress => Questions => Edit a question => Click to Add translation.

After clicking Add translation, you will need to type name, description and configure like when you create a new question.

NOTE: After translating, you need to assign question to a quiz.

 

4.TRANSLATE EDUMA THEME

4.1.TRANSLATE WIDGETS

  • You can go to your Dashboard => Appearance => Widgets to add/edit widgets into sections, like Course Sidebar, All Courses, Sidebar, Toolbar, Menu Right, Footer Top, Footer, Footer Bottom, Sidebar Shop, Sidebar Courses, and Sidebar Events.
  • For each language you need to add a widget and select the language for it. You can see the image below:

  • If it use Thim Elementor Kit short code, you need to go to Thim Elementor => All Templates => Click Add Translation.

  • Then type name for the translation => Publish =>  click Edit with Elementor.

  • Translate widgets and click Publish/Update.

4.2.TRANSLATE PAGES BUILT WITH ELEMENTOR

  • If your pages use Elementor to build, you can go to Dashboard => Pages => All Pages => Click Add Translattion.

  • Type title => Publish => Click Edit with Elementor.

  • Then you can translate content of widgets => Publish/Update.