[Koha-devel] RTL language support

Frederic Demians frederic at tamil.fr
Thu Jul 3 11:39:20 CEST 2008


Hello koha-translate list,

Currently, Koha translation into Arabic raises issues concerning RTL 
(right-to-left) support. See attached screenshots:

    * koha-rtl.png -- That's how a page is displayed now in Arabic.
    * koha-rtl-modified.png -- That's how this page should look like.

In a LTR language (English/French), in a form you have on a single line:

    * label
    * input box
    * button.

In a RTL language, it must be inversed:

    * button
    * input box
    * label.

On all OPAC header, you get a banner with from left to right:

    * A blank line with at far right a welcome text and connexion link
    * A blue section with:
          o Koha logo
          o 'Search' label
          o Fields combo box
          o input box
          o Search button
          o Cart and List buttons

For a RTL, it must be inverted, from left to right:

    * A blank line with at far left a connexion link and a welcome text
    * A blue section with:
          o Cart and List buttons
          o Search button
          o input box
          o Fields combo box
          o 'Search' label
          o Koha logo


Koha RTL support seems to be done now by changing <html> parameter 'dir':

  <html lang="ar-Arab" xml:lang="ar-Arab"
        dir="rtl" xmlns="http://www.w3.org/1999/xhtml">

Who decided to implement that this way? Why don't use CSS direction 
property? Like this:

  http://www.w3schools.com/Css/pr_text_direction.asp

Have templates been designed to support RTL languages?

Any comment/idea?
-- 
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html



-------------- next part --------------
A non-text attachment was scrubbed...
Name: koha-rtl.png
Type: image/png
Size: 17444 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20080703/814cbdc3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: koha-rtl-modified.png
Type: image/png
Size: 18241 bytes
Desc: not available
URL: </pipermail/koha-devel/attachments/20080703/814cbdc3/attachment-0005.png>
-------------- next part --------------
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel


More information about the Koha-devel mailing list