[ckan-dev] Right to Left Template

Adrià Mercader adria.mercader at okfn.org
Tue Apr 21 10:05:10 UTC 2015


Hi Pouyan,

Actually this is something I have wanted to sort out properly for a
long time on CKAN. In itself the fix should be quite easy, just a
matter of adding the following to the main <html> or <body> tags:

<html dir="rtl">

or even via css:

body {direction: rtl; }

To do so from an extension you could extend `base.html` or add your
custom css rules.

Of course there will be more work on the templates as I don't think
RTL has been properly tested on the default ones.

This Israeli instance seems to have implemented it:

http://data.hasadna.org.il

If there is someone from Hasadna on the list it would be great if you
could share your experience and give some pointers as to what would
need to be changed on CKAN core to make it easier to display RTL
languages.

Thanks a lot,

Adrià


On 19 April 2015 at 07:57, Pouyan Imanian <imanianp at gmail.com> wrote:
> Hello,
> Is there a right to left (rtl) template/version of CKAN for languages with
> rtl script (e.g. Arabic, Persian, etc.)? Any running samples?
> There are a few posts on this topic in the ckan-dev archive, but nothing
> useful.
> Any help is appreciated.
> Pouyan
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list