Andrew Stevens wrote:
From: philguillard <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]