Quick Wins with mlang and AI

Want to create multilingual content on your MyCourses pages in minutes? Here’s a simple workflow: ask Aalto AI Assistant to translate your text and wrap it with Moodle mlang tags, then paste it directly into MyCourses.

Photo by Ling App on Unsplash

Practical tips for AI-enhanced translations and mlang tagging

What is a mlang tag? Mlang tags let you include multiple language versions of the same content in one place. MyCourses shows the version that matches the user’s interface language. Get to know mlang tags in our instruction pages.

When to use this: You may create multilingual text to any sections or activity of your course page. Mlang tags work across MyCourses. The most common way to use mlang tags in MyCourses it to add mlang tags manually around your text by clicking the mlang-button in the text editor. The short cut we are proposing in this post is to skip the manual button-pushing, and ask AI to create the tags for you.

The workflow

  1. Draft your content in one language (or paste existing text).
  2. Ask Aalto AI Assistant to translate and add mlang tags.
  3. Proofread translations for accuracy.
  4. Copy the AI’s output and paste it into the MyCourses text editor.
  5. Save and preview with different language settings to confirm it switches correctly.

Example prompt “Translate and convert the text below into a multilingual (fi, en, sv) format using Moodle mlang tags.”

  • You may also define in what order you want the languages to be in the output
  • You can give more detailed prompt about the mlang tags, if the tags don’t seem to work well in the first iteration, e.g. “The mlang tags work as follows {mlang fi} sisältöä suomeksi {mlang} {mlang en} content in English {mlang} {mlang sv} innehåll på Svenska {mlang}”.
  • You may perfect the language by asking AI to keep the text tone and style as close to original as possible, use given vocabulary

Tool options: To stay in one system, use MyCourses’ AI features: the TinyMCE editor has an AI button for the Aalto AI Assistant. For more advanced tuning, use the Aalto AI Assistant’s external site.

Give it a go and don’t be afraid to experiment with your own prompts. You’ll quickly find what works best for your content!

Read also: Translate PowerPoint Presentations with Adobe Express – OPIT