[ckan-dev] Right to Left Template
Pouyan Imanian
imanianp at gmail.com
Sat Apr 25 04:41:27 UTC 2015
Hi,
Thanks again Adrià
If I develop a version of CKAN for a specific language (e.g. one with a
right-to-left script), may I - from a copyright point of view - make it
available for others to download?
Pouyan
> _______________________________________________
Date: Tue, 21 Apr 2015 14:10:50 +0100
From: Adrià Mercader <adria.mercader at okfn.org>
Hi,
I'm not aware of any. The first two items can be easily achieved
modifying the `header.html` template though.
Adrià
> _______________________________________________
On 21 April 2015 at 13:42, Pouyan Imanian <imanianp at gmail.com> wrote:
> Dear Adrià
> Hi and thanks a lot for your reply.
> The only thing that has happened in the instance that you have kindly
> provided (http://data.hasadna.org.il) is that the text has been aligned to
> right.
> In the right-to-left version that I have in mind:
> - the site logo is on right
> - the search box is on left
> - the filter bar is on right
> - etc.
> Any instances?
> Best
> Pouyan
> _______________________________________________
Date: Tue, 21 Apr 2015 11:05:10 +0100
From: Adrià Mercader <adria.mercader at okfn.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20150425/fb6a21c8/attachment-0003.html>
More information about the ckan-dev
mailing list