From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 24936BBBB for ; Mon, 23 Jan 2006 22:11:13 +0100 (CET) Received: from mallaury.nerim.net (smtp-101-monday.noc.nerim.net [62.4.17.101]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k0NLBDxn029136 for ; Mon, 23 Jan 2006 22:11:13 +0100 Received: from hector.lesours (bstarynk.net8.nerim.net [213.41.176.170]) by mallaury.nerim.net (Postfix) with ESMTP id B03C44F3BF for ; Mon, 23 Jan 2006 22:11:00 +0100 (CET) Received: from basile by hector.lesours with local (Exim 4.60) (envelope-from ) id 1F18y1-0006AD-1r for caml-list@yquem.inria.fr; Mon, 23 Jan 2006 22:11:13 +0100 Date: Mon, 23 Jan 2006 22:11:13 +0100 To: caml-list@yquem.inria.fr Subject: hints for internationalization Message-ID: <20060123211113.GA23586@ours.starynkevitch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.11 From: Basile STARYNKEVITCH X-Miltered: at nez-perce with ID 43D54671.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; basile:01 basile:01 weis:01 printf:01 printf:01 advices:01 scanf:01 gettext:01 nerim:01 faiencerie:01 92340:01 reine:01 bi-lingual:98 pierre:01 substitution:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Dear All (& specially Pierre Weis, because he is the designer of Printf) Do you have practical hints regarding the l18n or i18n of an application (specifically, an application to be runnable either in french or in english)? Any practical hints are welcome. In particular, it seems to me that the novel features of the Printf module could help in particular the format string substitution eg printf "%(%d %s)" (I don't know what should come next) .... In other words, I'm seeking advices and examples of how to use advanced Printf (& Scanf) features to code a bi-lingual application. Maybe a Printf mini-HOWTO might be helpful? What about gettext (or other equivalent?) regards -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet aliases: basiletunesorg = bstarynknerimnet 8, rue de la Faïencerie, 92340 Bourg La Reine, France