need advice on an i18n english to arabic function
| From: | p80 | Date: | Wed, 02 Jun 2004 15:06:05 +0000 |
| Subject: | need advice on an i18n english to arabic function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-187454@lists.php.net to get a copy of this message | ||
I have a website in English, it is translated in many languages already
(Spanish, french, German...), and i wanna translate it in Arabic, everytime i
have a word in English i use a function like this i18n(MyEnglishWord) and the
i18n function look up in an arabic.inc that contains a list of English words
translated in Arabic such as:
$this = "يليل";
$house ="بسيب";
etc...
that works Ok but the problem is that Arabic reads from right to left so i
need to redo my php and html code. is there a way to do this easily or is
there any method I should know of to ease my task?
thanx in advance