cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Why can't I put html tags in message catalogs?
Date Wed, 14 Jan 2004 00:53:58 GMT
It seems to be indeed not implemented though I thought it already was. I 
tried it out and it didn't work though I didn't get your error messages.

Joerg

On 14.01.2004 01:05, Fraser, Diane wrote:
> Everything works fine...
> 
> -----Original Message-----
> From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
> Sent: Tuesday, January 13, 2004 4:03 PM
> To: users@cocoon.apache.org
> Subject: Re: Why can't I put html tags in message catalogs?
> 
> 
> Hmm, and if you remove the font tags completely, so that you don't have 
> mixed content but only text?
> 
> Joerg
> 
> On 14.01.2004 01:00, Fraser, Diane wrote:
> 
> 
>>Hi,
>>
>>This doesn't work:
>>
>><message key="copyright_company">Copyright <font 
>>color="#4444FF">1996-2004</font> Any Corporation. All Rights 
>>Reserved.</message>
>>
>>I get the error, "Unable to locate resource: messages (key [messages])"
>>(with the long stacktrace below).
>>
>>Diane
>>
>>-----Original Message-----
>>From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de]
>>
>>The i18n transformer shall be mixed content aware, i.e. you *can* put 
>>*XML* content in it. But you put the tags in text form in it, not as 
>>XML. The error is the try to escape the quotes via back slash. You must 
>>simply write them as they are. This should work:
>>
>><message key="copyright_company">Copyright <font 
>>color="#4444FF">1996-2004</font> Any Corporation. All Rights 
>>Reserved.</message>
>>
>>Joerg
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message