RTL inline action lists rendered out of sequence

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

RTL inline action lists rendered out of sequence

sean f
I'm working on a multilingual site that includes Arabic. I've noticed that
inline lists of actions, like site actions, seem to render out of sequence
in RTL mode.

Example here:

http://img104.imageshack.us/my.php?image=ltrrtlqr7.png

It's really strange, because the actions *are* rendered in the correct order
in the HTML source.

Any clues as to why this might happen, and possibly how I can fix it?

(Plone 2.1.3, screenshot taken from Firefox 1.5.0.5, same behavior observed in
IE6)

Thanks,

Sean F


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|

Re: RTL inline action lists rendered out of sequence

Janne Toivola-2

On 14.8.2006, at 1.04, Sean Fulmer wrote:

> I'm working on a multilingual site that includes Arabic. I've  
> noticed that
> inline lists of actions, like site actions, seem to render out of  
> sequence
> in RTL mode.

Try:

#portal-siteactions li a {
        float: left;
        margin-right: 1em; /* padding works fine too if you prefer that */
}

in RTL.css.dtml. Works in firefox and safari (os x) and ie6 and  
firefox (win xp). My guess is that this is a problem with firefox's  
and ie's RTL support (afaik it shouldn't work like that. It was  
working with Safari as it was.)

It's good to hear that someone else is using Plone for Arabic site as  
well. We're building a site in Saudi-Arabia that will be in both  
English and Arabic.

We put a lot of effort into translating Plone into Arabic.  
Unfortunately the translation files should be reviewed by someone who  
understands Arabic and corrected for errors (there are a lot of these).

If you're interested in the review process or just want to use the  
files as they are, I can send them to you.

Best Regards,

--
Janne Toivola
Nixu Oy
Web Specialist
www.nixu.com
GSM: +358 50 570 0742 (Finland)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|

Re: RTL inline action lists rendered out of sequence

Alexander Limi
Administrator
In reply to this post by sean f
On Sun, 13 Aug 2006 15:04:54 -0700, Sean Fulmer  
<[hidden email]> wrote:

> I'm working on a multilingual site that includes Arabic. I've noticed  
> that
> inline lists of actions, like site actions, seem to render out of  
> sequence
> in RTL mode.

Tables and inline lists are reversed in RTL mode, AFAIK.

If you have mixed content (like in your example), you get unpredictable  
results. If you translate all the labels to Arabic, it should show up in  
the right (that is, exact reverse of the normal) order.

— Alexander


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Alexander Limi · http://limi.net

Reply | Threaded
Open this post in threaded view
|

Re: RTL inline action lists rendered out of sequence

sean f
Alexander Limi wrote:

> If you have mixed content (like in your example), you get unpredictable
> results. If you translate all the labels to Arabic, it should show up in
> the right (that is, exact reverse of the normal) order.

Thanks Limi - I was beginning to suspect that was the case. Hopefully
the issue will sort itself out when the client provides his
translations :)

Sean


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n
Reply | Threaded
Open this post in threaded view
|

Re: RTL inline action lists rendered out of sequence

sean f
In reply to this post by Janne Toivola-2
On Mon, 2006-08-14 at 09:29 +0300, Janne Toivola wrote:
> Try:
>
> #portal-siteactions li a {
> float: left;
> margin-right: 1em; /* padding works fine too if you prefer that */
> }

Thanks Janne - however, that didn't seem to have the desired effect. The
items still rendered out of order.

Limi indicated in another reply that the fact that I have mixed-language
content could be the cause of the problem. I'll see how it goes when the
site is fully translated.

> It's good to hear that someone else is using Plone for Arabic site as  
> well. We're building a site in Saudi-Arabia that will be in both  
> English and Arabic.
>
> We put a lot of effort into translating Plone into Arabic.  
> Unfortunately the translation files should be reviewed by someone who  
> understands Arabic and corrected for errors (there are a lot of these).
>
> If you're interested in the review process or just want to use the  
> files as they are, I can send them to you.

I would really love to assist in the review, but I can neither read nor
speak Arabic. I just have to ensure that the site layout works in RTL.

However, if you have a more complete Arabic translation of the Plone UI,
I would appreciate it if you could send it to me. My client will be
doing the translation and I can pass along to you any feedback he might
provide.

Thanks -

Sean


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plone-i18n mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-i18n