Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The learning environment allows you to create custom web pages, much like a CMS (Content Management System). While you can create two sets of pages (one in English and the other in French), it is recommended that you create one (1) page that includes both the English and French content in it. By doing so, the page will automatically appear in the user's preferred language when they switch languages.

When writing a page The learning environment is translated in both English and French. When writing text or HTML content that contains both English and French content, you want to wrap your page content in a specific tag called mlang as per the following example.

{mlang en}Hello World{mlang}{mlang fr}Bonjour monde{mlang}

 Using the example above, a person viewing the page text in English will see "Hello World" while a person viewing the page text in French will see "Bonjour monde". 

Important Notes

  • This concept applies in many areas where you can enter text or HTML, including course titles, course descriptions / summaries, certificates of completion, web pages, and so on.