Feature Wiki

Information about planned and released features

Tabok

Enabling Right-To-Left languages

1 Requirements

This was already discussed in an old Mantis ticket: Mantis 9435.
 
Now that bootstrap is the standard for CSS, would it be possible to implement RTL languages in ILIAS 5? I know there are (unsupported)  RTL implementations of bootstrap.
 
It should also be possible for a user to change languages between, say, English and Arabic, so there needs to be a way to use the proper css file with the corresponding language.

...

2 Additional Information

  • Idea / concept: Peter Pellemans, peter@futurelearning.nl
  • Funding: PHYWE Systeme GmbH & Co. KG, Göttingen (contact Christian Hüser)
  • Maintainer: Jean-Luc Braun, Qualitus GmbH
  • Implementation of the feature is done by Jean-Luc Braun, Qualitus GmbH
  • Testcases: (name, e-mail)

3 Discussion

JF 13 Oct 2014: RTL support does not come automatically with bootstrap. This would be a feature request for 5.1. In general we support RTL capabilities in ILIAS. As a start we need a general technical concept about what would be needed.

Christian Hüser, 31 March 2015: RTL support in ILIAS 5.1 is highly appreciated by our company PHYWE Systeme GmbH & Co. KG, Göttingen, Germany. We might be able to partially fund this feature request for ILIAS 5.1 depending on the offer and project proposal.

4 Implementation

The feature has been implemented in a way that ...

  • language variables in ILIAS which are part of a RTL language pack (implemented for ar, fa, he, ur) and
  • text entries made by users in simple text areas or TinyMCE editor fields or text paragraphs of the ILIAS page editor
  • which contain exclusively RTL language
... are displayed correctly from right to left, including punctuation, while the language pack is selected for the current user.

Text containing LTR language is displayed correctly from left to right, including punctuation, as long as the language variable, text area or text paragraph contain exclusively LTR language.

The feature does not allow to mingle LTR and RTL language in one piece of text!
For those cases, users have to operate with <bdo> tags:
  • <bdo dir="rtl"> for RTL "citations" in otherwise LTR languages
  • <bdo dir="ltr"> for LTR "citations" in otherwise RTL languages

Test Cases

Test cases completed at 26.08.2015 by Suittenpointner, Florian [suittenpointner]

  • C6499: Auf Rechts-nach-Links-Sprache umstellen

Approval

Breuer, Jens [breuer], August 26, 2015: Generally approved by PHYWE Systeme GmbH & Co. KG, Göttingen (contact Christian Hüser)

Utoljára szerkesztette: 8. Márc. 2016, 09:27, Suittenpointner, Florian [suittenpointner]