it works many thanks for your help TOMAS.
On 7/26/05, Tomas Kuliavas <[EMAIL PROTECTED]> wrote: > there is install script in every locales.tar.gz file. > > If you run it, it asks for squirrelmail location and copies help/, images/ > and locale/ directories to your squirrelmail install. > > If you have locale/ar/LC_MESSAGES/squirrelmail.po and squirrelmail.mo > files in your squirrelmail install - restart apache and check if > translation starts working. If you don't have squirrelmail.mo files - run > compilelocales script before using install script. > > If files are present, apache is restarted and translation is still not > working - create php script with > > ---- > <?php > var_dump(setlocale(LC_ALL,'ar')); > ?> > ---- > > and open it in browser. If script outputs bool(false), setlocale call > failed and translations might work only on BSD systems when php is not > running in safe mode. Translation might work on Solaris system too, if php > gettext extension uses Solaris gettext libraries. > > > I have downloaded > > -rw-r--r-- 1006629 Jul 22 20:23 > > squirrelmail-20050722_1020-CVS.devel.tar.gz -rw-r--r-- 4648631 Jul 22 > > 20:29 > > squirrelmail-20050722_1024-CVS.locales.tar.gz > > > > i extracted CVS.devel and move it to webmail folder drwxr-xr-x 17 96823 > > users 4096 Jul 26 12:02 webmail where should I place the > > squirrelmail-20050722_1024-CVS.locales.tar.gz i mean extract it? > > > > Thanks > > > > > > On 7/26/05, Tomas Kuliavas <[EMAIL PROTECTED]> wrote: > > > >>> I am trying to sawp the default interface to arabic one i did > >>> what was recommended in > >>> http://www.squirrelmail.org/wiki/en_US/TranslateGettext > >>> "using the latest squirrelmail CVS as of 15/07/2004 on a cPanel redhat > >>> 9.0 server. > >>> i was unable to get arabic translation to work in squirrelmail, > >>> selecting it would simply still show everything in english. > >>> > >>> i dont really understand this stuff, but doing the following fixed it > >>> for me: > >>> - localedef ar -i ar_SA -f ISO-8859-6 > >>> then, from op/ sub-dir of squirrelmail - ./compilepo ar and in the > >>> locale/ar/LC_MESSAGES/ sub-dir - msgfmt squirrelmail.po -o > >>> squirrelmail.mo - restart apache > >>> > >>> > >>> and arabic translation worked." > >>> > >>> as a resilt i get the following [EMAIL PROTECTED] data]# localedef ar -i > >>> ar_SA -f ISO-8859-6 > >>> [EMAIL PROTECTED] data]# cd .. > >>> [EMAIL PROTECTED] po]# ./compilepo ar > >>> Compiling ../locale/ar/LC_MESSAGES/squirrelmail.po > >>> msgfmt: error while opening "../locale/ar/LC_MESSAGES/squirrelmail.po" > >>> for reading: No such file or directory I checked it out > >> > >> See > >> > >> > >> http://prdownloads.sourceforge.net/squirrelmail/ar-1.5.0-20040404.tar.b > >> z2?download > >> > >> and > >> > >> http://www.squirrelmail.org/wiki/en_US/RemovedTranslations > >> > >> > >>> I am using Development Version > >>> Version: 1.5.0 squirrelmail > >>> > >> > >> Don't do that. Please upgrade to 1.5.1cvs or use stable version. > >> > >> > >> -- > >> Tomas > >> > >> > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
