Re: [2.1] Non-trivial uses of i18n transformer
Francesco Chicchiriccò <[email protected]> Mon, 23 May 2016 15:45:43 +0200
| Newsgroups | gmane.text.xml.cocoon.user |
|---|---|
| Message-ID | <[email protected]> |
On 23/05/2016 15:44, Christopher Schultz wrote: > Francesco, > > On 5/23/16 9:41 AM, Francesco Chicchiriccò wrote: > > On 23/05/2016 15:39, Marc Salvetti wrote: > >>> Hi Chris, > > Try something like this <a > > title="some.catalogue:some.text" I18n-attr="title"/> > > That's by > > memory but should find the exact syntax in the doc Here it is: > > > https://cocoon.apache.org/2.1/userdocs/i18nTransformer.html > > > <para title="first" name="article" i18n:attr="title name"> > > <i18n:text>This text will be translated.</i18n:text> </para> > > Aw, geez. How did I miss that in the docs? That's WAY better than the > stupid stuff I was coming up with. You're welcome :-) -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Involved at The Apache Software Foundation: member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF Committer, OpenJPA Committer http://home.apache.org/~ilgrosso/