Print concatenated text in arabic using javascript

Aug 06, 2020

Hello guys,

I am trying to run a javascrip that worked for English strings, but when replacing the sentences in Arabic, I got nothing, blank page! Any advice?

var player=GetPlayer();

var strengths=player.GetVar("strengths_entry");

var weaknesses=player.GetVar("weaknesses_entry");

var opportunities=player.GetVar("opportunities_entry");

var threats=player.GetVar("threats_entry");

var actionplan="<h2>تحليلي لنقاط الضعف والفرص والأخطار الشخصية</h2>";

actionplan += "<h3>نقاط القوة</h3>";

actionplan += "<p style='line-height:1.5em'>"+strengths+"</p>";

actionplan += "<h3>نقاط الضعف</h3>";

actionplan += "<p style='line-height:1.5em'>"+weaknesses+"</p>";

actionplan += "<h3>Opportunities</h3>";

actionplan += "<p style='line-height:1.5em'>"+opportunities+"</p>";

actionplan += "<h3>الأخطار</h3>";

actionplan += "<p style='line-height:1.5em'>"+threats+"</p>";

player.SetVar("concatenate_brainstorm",actionplan);

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.