If you want to quickly test using RTL and changing the page direction, you can right-click the RC window (in FireFox) and choose "Switch Page Direction" to see how it looks. The perfect solution IMHO would be: 1. Use a common.css file that defined the main stuff common to all languages or maybe including the whole thing. 2. Use a special .css file for RTL languages which would overwrite what is needed, like (align, float, padding-left, margin-left... etc) and change them as appropriate.
With little change we can also allow the user to choose display the folders left, right or left, when the page's direction is switched as maybe just like an additional feature. Just my 2c - Ossama ----- Original Message ---- From: till <[EMAIL PROTECTED]> To: Mohammad Ebrahim Mohammadi Panah <[EMAIL PROTECTED]> Cc: RoundCube Development Mailing List <[email protected]> Sent: Saturday, October 27, 2007 5:09:44 PM Subject: Re: [RCD] Right-to-Left Layout On 10/27/07, Mohammad Ebrahim Mohammadi Panah <[EMAIL PROTECTED]> wrote: > I think it is a design decision and shouldn't be done by me, but the > RoundCube designers. What Thomas was suggesting is - neither of us uses a RTL language. So demand and interest are next to 0 right now. So unless you come forward with a patch or find someone who is interested in contributing this, it WILL NOT get done. :) > Anyway I searched about implementing support of RTL languages in web > applications, especially PHP. Here are a few useful links: > > RTL support in WordPress 2.1: > http://boren.nu/archives/2007/01/07/rtl-support-in-wordpress-21/ > RTL in HTML, XHTML, CSS2, CSS3: > http://www.i18nguy.com/markup/right-to-left.html > Language information and text direction (part of HTML 4.01 specification): > http://www.w3.org/TR/html401/struct/dirlang.html > > I think this is the simplest idea: > Set a global variable in a locale-dependent file which shows this locale is > RTL. Then use it wherever a 'dir="RTL"' attribute is needed. > Anyway it is up to designers to decide upon this. Can you summarize this? Do we just need to adjust the CSS for this to work,or what's the catch? (I read the wordpress-related post but it didn't say.) If you need to contribute language files, you could go ahead as well. Requires next to zero programming skills. http://translator.roundcube.net/ Till _______________________________________________ List info: http://lists.roundcube.net/dev/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ List info: http://lists.roundcube.net/dev/
