cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philguillard <philguill...@gmail.com>
Subject Re: i18n:attr translation
Date Fri, 10 Feb 2006 07:45:06 GMT


Andrew Stevens wrote:
>> From: philguillard <philguillard@gmail.com>
>> Date: Fri, 10 Feb 2006 01:39:17 +0800
>>
>> Hi,
>> What do you think about that ?
>> <img src="foo.png" alt="translation.foo" i18n:attr="alt"/>
>>
>> I get a WARN
>> I18nTransformer: Translation not found for attribute alt in element <img>
>>
>> Is that not the right synthax ?
> 
> 
> The fact it's the I18nTransformer giving the warning suggests it's been 
> triggered, so the namespace and attribute (i18n:attr) are okay.  Plus, 
> it knows that it should be translating the alt attribute.  However, it 
> appears not to be finding any localised message for the key 
> "translation.foo".  Have you got it configured with the correct path 
> etc. for your catalog, and does the catalog contain an entry for that key?
> 
> 
> Andrew.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

Thanks Andrew,

Right, since i have a few XSL in this, the translation error came from 
some other img tags. It works correctly.

Phil

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


Mime
View raw message