Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 28338 invoked from network); 4 Nov 2004 14:30:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 14:30:34 -0000 Received: (qmail 55034 invoked by uid 500); 4 Nov 2004 14:30:28 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 54953 invoked by uid 500); 4 Nov 2004 14:30:28 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 54931 invoked by uid 99); 4 Nov 2004 14:30:28 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 06:30:27 -0800 Received: from [10.0.0.27] (unknown [10.0.0.27]) by mail.anyware-tech.com (Postfix) with ESMTP id A14315EBDD for ; Thu, 4 Nov 2004 15:30:25 +0100 (CET) Message-ID: <418A3D01.30604@apache.org> Date: Thu, 04 Nov 2004 15:30:25 +0100 From: Sylvain Wallez Organization: Anyware Technologies User-Agent: Mozilla Thunderbird 0.8 (Macintosh/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [CForms] I18n text on buttons References: <5E091A68F794974CAF431CA31F5AF2CC11E9A6@server.bizzdesign.nl> In-Reply-To: <5E091A68F794974CAF431CA31F5AF2CC11E9A6@server.bizzdesign.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Bart Molenkamp wrote: >Hi all, > >I want to place some I18n text on a (submit) button. The difference with >buttons is that the label of that button is placed inside the @value >attribute of the input. By default, the I18n transformer doesn't >transform these tags unless there is another tag on the input: > >What would be a good method to solve this? > > Within a CForms pipeline, the i18n transformer normally comes _before_ the formatting stylesheets. That way, all labels are represented as whatever their final destination is. Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }