Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 94383 invoked from network); 27 Apr 2010 21:20:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 21:20:21 -0000 Received: (qmail 94498 invoked by uid 500); 27 Apr 2010 21:20:21 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 94254 invoked by uid 500); 27 Apr 2010 21:20:20 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 94246 invoked by uid 99); 27 Apr 2010 21:20:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:20:20 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=10.0 tests=AWL,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.74.71.26] (HELO hel.is.scarlet.be) (193.74.71.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 21:20:14 +0000 Received: from mail.harfang.homelinux.org (ip-213-49-236-64.dsl.scarlet.be [213.49.236.64]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id o3RLJoJo018991 for ; Tue, 27 Apr 2010 23:19:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=scarlet.be; s=scarlet; t=1272403190; bh=Mjlsb62wYUw3b3a7pR6OyDGbB8cxEXduv1L+FRU/P6I=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=yzRXFq8y3EIE7uZgwOJqRRIet00BYBD+Z6CK3CJ+OQ6/omlyu3iYiYoQf/3JbkgSC Lp08R5IuJmVD3HgK/h4ySy6Ae2sxJIs+AdaBftGUSp+4Cwhoagcex2BSCKXKu1l7NT 5PIdvqOQYUeiLXqxnF/kK9GxNw+fzXvomi7cqtRE= Received: from localhost (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 1E65B617FC for ; Tue, 27 Apr 2010 23:19:50 +0200 (CEST) Received: from mail.harfang.homelinux.org ([192.168.20.11]) by localhost (mail.harfang.homelinux.org [192.168.20.11]) (amavisd-new, port 10024) with ESMTP id vZX5hVSPQOQ8 for ; Tue, 27 Apr 2010 23:19:47 +0200 (CEST) Received: from dusk.harfang.homelinux.org (mail.harfang.homelinux.org [192.168.20.11]) by mail.harfang.homelinux.org (Postfix) with ESMTP id 33ABB617BC for ; Tue, 27 Apr 2010 23:19:47 +0200 (CEST) Received: from eran by dusk.harfang.homelinux.org with local (Exim 4.71) (envelope-from ) id 1O6sC2-0005It-Rf for dev@commons.apache.org; Tue, 27 Apr 2010 23:19:46 +0200 Date: Tue, 27 Apr 2010 23:19:46 +0200 From: Gilles Sadowski To: dev@commons.apache.org Subject: Re: [Math] What about issue 361? Message-ID: <20100427211946.GE18833@dusk.harfang.homelinux.org> Mail-Followup-To: dev@commons.apache.org References: <20100427200627.GD18833@dusk.harfang.homelinux.org> <2103425184.5400331272400480658.JavaMail.root@spooler6-g27.priv.proxad.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2103425184.5400331272400480658.JavaMail.root@spooler6-g27.priv.proxad.net> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.20 (2009-06-14) X-DCC-scarlet.be-Metrics: hel 20002; Body=1 Fuz1=1 Fuz2=1 > > > [...] > > > > > > Not sure why you need multiple jars. > > > > To enable runtime selection of the L10N implementation, letting the > > user > > choose whether he wants to depend on the CAL10N external library or > > whether > > he is happy with the default (English) message text. > > I think I may have missed something here. Do you say that if we go this > way it will mean people should either have to have an additional > dependency or no translation at all ? This would be a very bad thing > to me. My previous understanding was that the external dependency > simply improved development and languages plugin, but that the system > could still work without it. Well, my point (cf. the lengthy mail referred to on the JIRA page) was that "translation" is an additional functionality layer. Now, the library "CAL10N" offers: - easy testing of translation coverage (compile-time or, more exactly, development-time if end-users don't want to be able to run the Junit tests) - translation at runtime (i.e. a runtime external dependency) So I don't see why we should re-invent the wheel just to avoid an optional dependency on a tiny special-purpose external library. Of course, if you insist on doing that, you will always be able to provide a "home-made" implementation of the "Framework" (i.e. in place of using "CAL10N"). But this implementation must also be optional, so that it must be provided in a separate JAR which the user can declare in his dependencies if he wants to use it instead of the default error handling (which will be: no dependency, no translation). I think that this is arguably the most flexible position: You don't impose translation while providing an easy, free software, means to get functionality. Best, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org