Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 73215 invoked by uid 500); 30 Oct 2001 13:57:59 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 73198 invoked from network); 30 Oct 2001 13:57:58 -0000 From: "Piroumian, Konstantin" To: cocoon-dev@xml.apache.org Message-ID: <03fd01c16131$63a3b750$9d0a000a@flagship.ru> References: <5.1.0.14.0.20011026101026.01c47e68@pop> <5.1.0.14.0.20011029090139.01baeec0@pop> <3BDE6AAA.724E97BA@wincor-nixdorf.com> Subject: Re: [RTl] i18n transformer Date: Tue, 30 Oct 2001 13:55:29 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi! > Peter Royal wrote: > > ... > > I agree that this is definitely the way to go. I'm offering up the work > > I've done thus far as another, somewhat orthogonal change, to what you've > > proposed. Since we were talking about the I18nTransformer, I figured I'd > > pipe up :) > > ... > > Hi, > as i follow this discussion and from experience of using the > I18nTransformer > I have some functional points it should be easy (for you? ;-) to add. > I would make it self but I don't want to interfere with your plans. > > 1) I'd like to have in the catalogue an attribute called "alias", e.g. > ABC > > If called xyz it will be transformed to "ABC". Where this can be used? > > 2) It would be nice to have an "adding feature", e.g. > Hello > World > > So "hi all" will result in "Hello World". You can use: {0} {1} hi all I think, that this is the task of the transformer to perform such operations and not the dictionary's. > > 3) It would be good to have an "empty" translation. > Actually if we define this will result > in > "untranslated text" or whatever is configured. Even if we put space > between the tags the behaviour is like that. Hm... It's not correct. If there is a key in the dictionary then the result must be whatever is its value. Btw, have seen the recent changes in Avalon's i18n support? Regards, Konstantin > We should define an attribute like 'empty="true"' > e.g. - this sould result in no > output. > > Regards, > Michael > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org