[LON-CAPA-users] Full support for Right-To-Left languages?
Itay
itayf at nospammail.net
Thu Jun 7 16:39:20 EDT 2018
Thanks.
On Thu, 7 Jun 2018, at 23:33, Stuart Raeburn wrote:
> Hello Itay,
>
> >
> > This discussion, I guess, fits better the developers' list, or to
> > private communication -- let me know which is preferred.
> >
>
> I have filed bug 6884 for implementation of full RTL support in the
> current LON-CAPA. See: bugs.loncapa.org/show_bug.cgi?id=6884
>
> If you would like to post comments on that bug/enhancement request
> please send an e-mail to helpdesk at loncapa.org to request creation of
> an account in bugs.loncapa.org (the e-mail address from which you send
> your e-mail will be used as your username in LON-CAPA's bugzilla
> instance).
>
> Thank you,
>
> Stuart
>
> Stuart Raeburn
> Technical Director
> LON-CAPA Academic Consortium
>
> Quoting Itay <itayf at nospammail.net>:
>
> > On Wed, 6 Jun 2018, at 16:31, Kortemeyer, Gerd wrote:
> >> Hi,
> >>
> >> I am sorry to say that RTL-support in LON-CAPA is very limited. I
> had
> >> build a prototype of a new system,
> >>
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_gerdkortemeyer_loncapa&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=VsGo3jOm8tGLd6f-KlhT-g&m=q2fTtq-o_Pnoirx_kfzQGk7Pc94spwnIz7g6qIP8EN4&s=Bd0-3OX-ilgzse8VZbC2Vb51UQUjbCVLVtdJ_OW83bs&e=
> >>
> >> which has full RTL-support for all output, homework, editors, etc.
> >> Unfortunately, we do not have enough funding to develop that
> prototype
> >> into a real system or even to integrate aspects into the production
> >> system. If anybody wants to look what?s done in the prototype and
> >> integrate that into the production system, that would be great. And
> yes,
> >> funding would be nice ?
> >>
> >
> > I am sorry, but at this point there is no funding. But there might
> > be other options, too.
> > This discussion, I guess, fits better the developers' list, or to
> > private communication -- let me know which is preferred.
> >
> >> BTW: something that might help for at least option-response is the
> >> <drawoptionlist />-tag, which at least allows you to move around
> where
> >> the dropdown-menu appears.
> >
> > Thank you.
> > Itay
> >
> >>
> >> - Gerd.
> >>
> >> > On Jun 5, 2018, at 9:35 AM, Itay <itayf at nospammail.net> wrote:
> >> >
> >> > Hi
> >> >
> >> > We are interested in developing content in Hebrew which is a
> >> Right-to-left (RTL) language.
> >> > We have authored several test problems in order to see the extent
>
> >> of RTL support.
> >> > To achieve correct directionality of the text within sentences we
>
> >> have used the <span> tags with the RTL attribute.
> >> > However, this does not provide good support for RTL alignment of
> >> paragraphs.
> >> > For example, in a radiobutton response, the radio buttons appear
> >> on the wrong side, see minimal example below.
> >> >
> >> > We haven?t found in the manuals any instructions for authoring
> >> content in RTL languages.
> >> > We wonder if full RTL support is available for Lon-Capa content
> >> and interface (including menus, etc.).
> >> > If such support is not available built-in, we would appreciate
> any
> >> information as regard to implementing such support.
> >> >
> >> > Minimal examples follow below.
> >> > (Note: this message was sent to the developers' list but did not
> >> receive any response. So we try our luck here.)
> >> > Thank you in advance.
> >> >
> >> > Itay Furman & Yair Naveh
> >> > Jerusalem College of Engineering, Israel
> >> >
> >> >
> >> > <problem>
> >> > <!-- Test full RTL support : demonstrate wrong placement of
> >> submission field. -->
> >> > <script type="loncapa/perl">
> >> > $a=&random(1,10,1); $b=&random(1,10,1); $c=$a+$b;
> >> > </script>
> >> > <startouttext />
> >> > <translated>
> >> > <span dir="rtl">????: ??? ?? $a + $b?</span>
> >> > </translated>
> >> > <endouttext />
> >> > <numericalresponse answer="$c">
> >> > <textline />
> >> > </numericalresponse>
> >> > </problem>
> >> >
> >> >
> >> > <problem>
> >> > <!-- Test full RTL support :
> >> > demonstrate wrong placement of radiobuttions, and wrong
> >> alignment of margins. -->
> >> > <span dir="rtl">
> >> > <startouttext />
> >> > ??? ?? 1+1?
> >> > <endouttext />
> >> > <radiobuttonresponse max="10" randomize="yes">
> >> > <foilgroup>
> >> > <foil location="random" value="true" name="foil1">
> >> > <startouttext />2 (???? ????? ?????).<endouttext />
> >> > </foil>
> >> > <foil location="random" value="false" name="foil2">
> >> > <startouttext />4 (???? ????? ?????).<endouttext />
> >> > </foil>
> >> > <foil location="random" value="false" name="foil3">
> >> > <startouttext />5.5 (???? ????? ?????).<endouttext />
> >> > </foil>
> >> > </foilgroup>
> >> > </radiobuttonresponse>
> >> > </span>
> >> > </problem>
> >> >
> >> >
> >> > <problem>
> >> > <!-- Test full RTL support : demonstrates correct mixture of
> RTL
> >> and LTR pieces. -->
> >> > <startouttext />
> >> > <span dir="rtl">
> >> > ???? ??????? <!-- This text precedes the equation (on the
> right). -->
> >> > <m>\(c = a + b \)</m>
> >> > ???? ???????. <!-- This text follows the equation (on the
> left). -->
> >> > <br />
> >> > ???? ???????, <!-- This text precedes the english text. -->
> >> > english text between hebrew text,
> >> > ???? ???????. <!-- This text follows the english text. -->
> >> > </span>
> >> > <endouttext />
> >> > </problem>
> >> >
> >> >
> >> > Done minimal examples.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > LON-CAPA-users mailing list
> >> > LON-CAPA-users at mail.lon-capa.org
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
More information about the LON-CAPA-users
mailing list