Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 3751 invoked from network); 23 Jun 2008 09:30:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jun 2008 09:30:05 -0000 Received: (qmail 25152 invoked by uid 500); 23 Jun 2008 09:30:04 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 25098 invoked by uid 500); 23 Jun 2008 09:30:03 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 25084 invoked by uid 99); 23 Jun 2008 09:30:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 02:30:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Magnus.Haraldsen.Amundsen@computas.com designates 193.71.42.14 as permitted sender) Received: from [193.71.42.14] (HELO mail.computas.com) (193.71.42.14) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jun 2008 09:29:14 +0000 Received: by mail.computas.com (Postfix, from userid 102) id EBB0A13665; Mon, 23 Jun 2008 11:26:21 +0200 (CEST) Received: from ATLAS.computas.int (neptun.computas.com [192.168.4.113])by mail.computas.com (Postfix) with ESMTP id C462C1331Cfor ; Mon, 23 Jun 2008 11:26:21 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [C22] i18n Date: Mon, 23 Jun 2008 11:26:21 +0200 Message-ID: <495295EE69BB4B4AAE73D1B0D8AD551803058029@ATLAS.computas.int> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [C22] i18n Thread-Index: AcjVEZKwH8zczWMDTd+vskEgZTKhlgAAMYIg References: <24686756.1214211959078.JavaMail.Administrator@XANADU> <24706281.1214212421218.JavaMail.Administrator@XANADU> From: "Magnus Haraldsen Amundsen" To: X-Virus-Checked: Checked by ClamAV on apache.org It's written to the JX Template using: Where the jx:out contains a Java String that looks like this: When I look at the source after all the transforms, the String that came = from Java looks like this: Provided URL validated. So it's being translated, and it's not that it's treated as a regular = string.=20 Other text that isn't i18n looks like this: En status m=E5 velges. So I don't see why the i18n text shouldn't be displayed in the same way = as the non-i18n text is.=20 - Magnus -----Original Message----- From: Askild Aaberg Hofs=F8y Olsen [mailto:askild@xangeli.com]=20 Sent: 23. juni 2008 11:13 To: users@cocoon.apache.org Subject: Re: [C22] i18n Magnus Haraldsen Amundsen wrote: > > The i18nTransformer works when I follow the 2.1 documentation, but=20 > we've found that tags that we've hardcoded in the Java=20 > code doesn't get translated. It seems as it only translates=20 > tags that we've added in the JX templates and the XSLT=20 > stylesheets. > My guess is that your in Java is just treated as the the=20 string "..", and are never parsed as an element in the = stream. If you look at the resulting XML before the i18n-transformer, do you see = them as "<18n:text>"? Askild --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org