From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41826 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Translaing ConTeXt interface to Arabic Date: Sat, 21 Jun 2008 23:02:24 +0300 Message-ID: <20080621200224.GA29893@khaled-laptop> References: <20080620151638.GB15208@khaled-laptop> <485BD43F.2000502@wxs.nl> <20080620175534.GA23756@khaled-laptop> <485C00BC.5050906@wxs.nl> <20080621011157.GA7373@khaled-laptop> <20080621025116.GA12911@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1635391620==" X-Trace: ger.gmane.org 1214078640 27391 80.91.229.12 (21 Jun 2008 20:04:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2008 20:04:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 21 22:04:43 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KA9KF-0007R9-I4 for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jun 2008 22:04:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 824691FBB5; Sat, 21 Jun 2008 22:03:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04479-03-3; Sat, 21 Jun 2008 22:03:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BC6D1FB8C; Sat, 21 Jun 2008 22:03:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2CF381FB74 for ; Sat, 21 Jun 2008 22:03:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06985-01-8 for ; Sat, 21 Jun 2008 22:02:34 +0200 (CEST) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.240]) by ronja.ntg.nl (Postfix) with ESMTP id F1A151FBAA for ; Sat, 21 Jun 2008 22:02:33 +0200 (CEST) Original-Received: by rv-out-0708.google.com with SMTP id f25so7405095rvb.14 for ; Sat, 21 Jun 2008 13:02:32 -0700 (PDT) Original-Received: by 10.141.63.20 with SMTP id q20mr9838044rvk.291.1214078552591; Sat, 21 Jun 2008 13:02:32 -0700 (PDT) Original-Received: from localhost ( [41.232.35.59]) by mx.google.com with ESMTPS id 10sm6324719wrl.11.2008.06.21.13.02.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Jun 2008 13:02:31 -0700 (PDT) In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41826 Archived-At: --===============1635391620== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 20, 2008 at 09:08:32PM -0600, Idris Samawi Hamid wrote: > On Fri, 20 Jun 2008 20:51:16 -0600, Khaled Hosny = =20 > wrote: >=20 > >> > Good point. I'll try to find a conversion algorithm... > >> > >> http://www.codeproject.com/KB/datetime/hijrigregorianclass.aspx > > > > The guy here claims to have a better algorithm than others > > http://ojuba.org/wiki/doku.php/hijra/, it is written completely in > > python. I didn't compare it with others myself, though. >=20 > Well, since we're not using it for long-term historical ranges -- and =20 > we'll need to be able to advance/reverse it a couple of days no matter th= e =20 > algorithm, then I say let's go with whatever is easiest for hans to read = =20 > ;-) I think Umm al-Qura algorithm is more tested and is the one officially used in Saudi Arabia, but I can't find any technical details about it, though Arabeyes's ITL implements it and is giving me correct results so far (unlike the Hijra algorithm). EMACS one seems to be widely used too, but its ITL implementation gives me incorrect dates some times http://www.arabeyes.org/project.php?proj=3DITL Regards, Khaled --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIXV5QRoqITGOuyPIRAknXAJ4wx6nztC67qJFpsaEOUI1JoevvMgCeIaKd WCLlrPYtcpBQRmwllMj13rw= =RfbR -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- --===============1635391620== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1635391620==--