Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 93370 invoked from network); 5 Sep 2010 08:45:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Sep 2010 08:45:07 -0000 Received: (qmail 43365 invoked by uid 500); 5 Sep 2010 08:45:07 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 43169 invoked by uid 500); 5 Sep 2010 08:45:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 43161 invoked by uid 99); 5 Sep 2010 08:45:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 08:45:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 05 Sep 2010 08:45:03 +0000 Received: (qmail 93127 invoked by uid 99); 5 Sep 2010 08:44:43 -0000 Received: from localhost.apache.org (HELO emmanuel-lecharnys-MacBook-Pro.local) (127.0.0.1) (smtp-auth username elecharny, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 08:44:43 +0000 Message-ID: <4C83595B.6040503@apache.org> Date: Sun, 05 Sep 2010 10:48:27 +0200 From: =?ISO-8859-1?Q?Emmanuel_L=E9charny?= Reply-To: elecharny@apache.org Organization: The Apache Software Foundation User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: I18n for debug messages ? References: <4C835370.2000207@gmail.com> <4C835679.8010802@symas.com> In-Reply-To: <4C835679.8010802@symas.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 9/5/10 10:36 AM, Howard Chu wrote: > Kiran Ayyagari wrote: >> On Sun, Sep 5, 2010 at 1:53 PM, Emmanuel >> Lecharny wrote: >>> Hi guys, >>> >>> I'm not sure it's worthy to move DEBUG level messages to i18n. To >>> me, FATAL, >>> ERROR, INFO and WARNING should be i18ned, but DEBUG messages are >>> more an >>> indication for high level developpers who will have a clue about what's >>> going on in the server, mainly us, in fact. >> +1, let us keep DEBUG messages without i18n, having them in plain text >> in the code improves >> readability during debugging > > It's a real pain to grep or google for error messages if you have to > cover multiple languages in your search... sure enough. Hopefully, all our messages have a code, like ERR_XXXX, so whatever language the user has, it should be easy to get a clue about what's going on. (assuming we don't modify the number from version X to version Y of course !) (I should check we add this ERR_XXXXX number in front of messages...) -- Regards, Cordialement, Emmanuel L�charny www.iktek.com