I think it is a design decision and shouldn't be done by me, but the RoundCube designers. 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.
On 10/8/07, Thomas Bruederli roundcube@gmail.com wrote:
Mohammad Ebrahim Mohammadi Panah wrote:
Hello, I got the latest code from Subversion and tested it to see how it looks in Persian. RoundCube seems to have no support for right-to-left languages such as Persian and Arabic. It didn't change the layout to right-to-left when I chose Persian or Arabic. Please correct me if I'm wrong. Is there any plan to implement it?
Somebody once announced to implement this but I've never heard again from that person. This has to be done by somebody who is familiar with right-to-left websites and the Persian or Arabic language. All of your developers are either American or European and have no idea about RTL websites.
You are very welcome to contribute the changes that are necessary for this.
Regards, ~Thomas
On 10/27/07, Mohammad Ebrahim Mohammadi Panah mebrahim@gmail.com 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/
Hi all,
Attached is my first idea of how to implement right-to-left layouts. My native language is left-to-right, so I cannot help develop this further.
Work is needed on image stuff as well. I haven't investigated, but probably most image-problems with rtl languages come from background images that should be moved to the other side. Maybe an include of a 'rtl.css' that overrides background settings will do?
Robin
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Ur/SjPNsK7C/rtl.20071030-1235.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/