Prior to providing the solution, we thought to share the root cause for the Right-to-Left (RTL) alignment issue in Closed Caption (CC). One of our clients, who is a leading business trading company in Canada wanted to help their global workforce to get awareness of the ethical standards of business. With a wide range of eLearning services, earlier we designed training programs by producing highly engaging custom content development with the company. So, Company is well aware that Articulate Storyline 360 is a rapid eLearning authoring tool for the development of eLearning courses.
The exact requirement of the client was to develop the courses in English and Right-to-Left (RTL) languages like Hebrew, Arabic, Urdu, etc., to cater the needs of the users in the Middle East.
Predominant features:
- Default Course Player and
- CC button with Right-to-Left (RTL) Language support
The English version was developed without any issues. But the most interesting and challenging task was with the Right-to-Left (RTL) Languages. Since the orientation is from Right-to-Left (RTL), the text in Closed Captions (CC) gets misaligned with the screen resolution after publishing the course. We took up the challenge and landed with a solution that works with (Right-to-Left) RTL alignment of CC text in Articulate Storyline 360.
In this blog, we will show you the steps to work with Right-to-Left (RTL) alignment of CC text.
After publishing the project, follow these steps:
Step -1: Go to publish file and search for “main.min.css” in the folder
Step -2: Right-click on the “main.min.css” and select the option “Edit with Notepad ++”
Step -3: Find the text “.caption p{display” and replace with the text “.caption p{direction: rtl; display”
Step -4: Also replace the text “text-align:center;line” with “text-align:right;line” and save.
You can see the results without modifications and with modifications made in the published course.
Before modifications:
After modifications:
Note: The audio used in the sample is machine-generated, hence some of the words might be misspoken.
Final words: With a few amendments in the published course, we overcame the issue of Right-to-Left (RTL) alignment of CC text in Articulate Storyline 360. The client was extremely happy since the issue has been resolved within no time.