Forum Discussion

TalalParvaiz's avatar
TalalParvaiz
Community Member
4 years ago

How to format your Rise 360 course for Arabic

UPDATE: EVEN EASIER. DOWNLOAD THE ATTACHED ZIP FILE AND PASTE THE 4 FILES ENCLOSED WITHIN INTO THE "LIB" FOLDER (OVERWRITE OLD FILES)

Hey all. I work for a college here in Qatar and wanted to share my experience of how to overcome the limitation of right to left (RTL) languages (specifically Arabic) and show you my workaround in the hopes that someone may benefit from it.

Unfortunately it does require you to be a bit tech savvy and will not work if your audience is viewing your course directly through Rise 360. In our case, we are using Blackboard Learn and if you export the course before making it available to your audience then this "hack" might work for you.

The idea is to fix the problem through code. We can't modify the code directly within rise so this has to be done in between the authoring and publishing phase when we export the course. If you export to LMS, you will most likely get a zip file.

Extract the zip file so you can see its contents and modify a file called index.html

open up notepad on windows or TextEdit on Mac > File > Open

Navigate to the extracted course and go into these folders

Your Course Name > scormcontent > index.html

Once you open it with the text editor, you will see some scary code. Dont worry, you dont need to understand it, but you do need to observe a few elements.

Right at the top of the file (2nd line i guess), you will see:

<html lang="en" class="">

Replace this whole line with

<html lang="ar" dir="ltr" class="">

Not so hard right?

Now just below that line is a code that is <head>, just below it, paste the following:

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha256-4+XzXVhsDmqanXGHaHvgh1gMQKX40OUvDEBTu8JcmNs=" crossorigin="anonymous"></script>

You are doing well, now the last bit of code. Just below that, paste the following chunk of code.

<script type = "text/javascript">

var arabicFix = function(){
$('p,h1,h2,h3,h4,h5,li,ol,ul,strong,a,span,.brand--ui,.lesson-header__top-wrap,.page-header-container,.overview-sidebar__title,.fr-view').attr('dir','rtl').attr('align','right');
$('blocks-tabs__container').children().attr('dir','rtl').attr('align','right');
$('.block-flashcards-slider__progress-text').attr('dir','ltr').attr('align','center');
}

setInterval(arabicFix,500);
</script>

Save to overwrite the default index.html file. Test it out by launching index.html in your browser.

To repack the file properly, navigate to the folder where "scormcontent" is, select all the files and zip them using your zip application (I use 7-Zip on windows and Archiver on Mac).

Your course is now ready for Arabic including layout of bullets, accordions, tabs, carousels etc. Drop me a line if you need help, id be more than happy to walk you through any stage of the process.

Have a lovely day!

  • Thanks to Talal and all the other heroes for these pieces of advice!

    I was able to solve the bullet point issue by changing the block to a simple text and then applying the bullet list. The font size needs to be enlarged.

    The issue that I can't solve is with the timeline, as all pictures are moved to the left despite the orientation selected in Rise.

    Can anyone help? Thank you!

  • Hi Elisabetta! Can you tell us more about the issue you're seeing with images in the timeline block? Are images aligning to the left even when the right-aligned option is selected?

    • ElisabettaTesse's avatar
      ElisabettaTesse
      Community Member
      Alyssa Gomez

      Hi Elisabetta! Can you tell us more about the issue you're seeing with images in the timeline block? Are images aligning to the left even when the right-aligned option is selected?

      Hello Alyssa, 

      thank you for answering. Yes, that’s the case, the images are placed on the left by default, even when I select any other alignment. I’ve tested this in the LMS with right, center and left alignment.

      Any idea on how to sort this out? Thank you. 

      • CNavarro's avatar
        CNavarro
        Former Staff

        Hi Elisabetta, are you seeing the issue after applying Talal's steps? If you create a new course and upload it to your LMS without doing Talal's steps, are you still seeing the issue?

  • Salam Talal, 

    I have been trying to follow your steps, but in Blackboard LMS I seem to be getting loading/content issue. Can you please help? 

  • Has anyone managed to get this working in Docebo LMS?

    When I try the above steps, it works ok HTML, but when trying to upload the re-zipped scorm file I get the attached error message.

    • AmandaRosche611's avatar
      AmandaRosche611
      Community Member

      Hi Shayne-

      Any luck with Docebo? I am just starting this process of translating to Arabic and looking for all potential pitfalls and solutions.

      • ShayneHall-7f43's avatar
        ShayneHall-7f43
        Community Member

        Sorry Amanda, no joy yet, still waiting for further advice 

  • Thanks for sharing this solution, This is very helpful! I already implemented in one of the courses in Arabic. I uploaded it on our LMS and it works well. However, scrolling is not working in the mobile version. Any idea how to solve it? 

  • Hi,

    I've started working on Arabic version of Rise 360 and its sad to see that Rise 360 doesn't support RTL. I'm facing issues in quiz development where the radio button should be in the right. Unfortunately, this feature is not there.

    Can anyone help me in this scenario?

  • Hello, recommend instead of "right after <head>" that we add the script references "right before </head>"  That way the resize hack and other default script references can load first. Will that work?

  • Hello, and thank you for this solution for Rise courses. After applying the steps exactly, I am not seeing the numbered and bulleted list blocks responding to the right-to-left formatting. Is there a solution for this?

  • Hi,

    I am so grateful for Talal for providing these files and explanation. This is by far the best solution I have found for RTL Rise modules. The only issue I am having is that my brand colors are being converted to white, so the hyperlinks, buttons, and bullets look like they are not appearing. Does anyone know how I can fix that?

    Thanks!

  • @shayne Hall, 

    I found a solution to the issue for Docebo LMS. You will need to use 7 zip and right click Open Archive, then find the ScormContent folder, then find the Index file, hen right click Edit, then copy and paste the code, then save back. 

    This is crucial! Please do not extract, but right click Open archive. Please see my attachment.