please include the bidi.module as a standard module

Anonymous (not verified) - December 3, 2004 - 01:39
Project:Drupal
Version:7.x-dev
Component:base system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

please include the bidi.module as a standard module, which could be found here:

http://uniball.dyndns.org/cgi-bin/viewcvs.cgi/www/eglug/modules/bidi.mod...

This is needed to make arabic function correctly.

#1

Uwe Hermann - December 3, 2004 - 05:05

#2

killes@www.drop.org - January 14, 2005 - 15:40
Project:Locale» Drupal
Version:HEAD»
Component:Code» base system
Category:support request» feature request

moving to Drupal.

#3

kbahey - March 14, 2005 - 19:04

To the original author of the bidi.module:

Please commit it to the contrib respository, and create a project page for it. This way everyone can get it.

#4

Steven - March 21, 2005 - 16:09

This is in fact not needed at all for Arabic. It is needed to /mix/ two languages with different text directions. This is a different thing altogether.

The code seems a bit excessive to me: you should use regular expressions for speed, as well as use Unicode character ranges instead of byte-based regexps (use the /u modifier). Finally, the filter settings should be removed, as they are not settings at all. This practice was removed in 4.5.

Also, I'm not sure about the setlocale() call. In my tests, PHP seems to ignore the locale for almost everything.

#5

msameer - March 26, 2005 - 20:27

kbahey, Alaa is the original author of the module, It's in his sandbox in the drupal CVS.
I just ported it to drupal 4.5 API.
Infact the module isn't that clean. Alaa is sitting in front of me ATM and he'll reply to this issue.

Best regards,

#6

alaa - March 26, 2005 - 20:30

the code is already in my sandbox but as Steven demonstrated its a horrible hack and not really ready to be a proper module.

I never got around to cleaning it or any of the other EGLUG modules up.

#7

liquid crystal - June 26, 2006 - 16:07

Any intensions to enhance this module and update it for 4.7 while also cleaning the code?

#8

LAsan - April 7, 2008 - 08:33
Version:» 7.x-dev

Feature request moving to cvs.

 
 

Drupal is a registered trademark of Dries Buytaert.