Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Marc Salvetti
Hello, I don't think you can have translated text embeded in js code like this. I think you have to move the string to the xml markup as in your first message, then let js handle strings that are already translated 2016-05-23 21:24 GMT+07:00 Christopher Schultz :

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Francesco Chicchiriccò
On 23/05/2016 16:24, Christopher Schultz wrote: Francesco, On 5/23/16 9:58 AM, Francesco Chicchiriccò wrote: On 23/05/2016 15:55, Christopher Schultz wrote: Marc, On 5/23/16 9:39 AM, Marc Salvetti wrote: Try something like this That's by memory but should find the exact syntax in the doc

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Christopher Schultz
Francesco, On 5/23/16 9:58 AM, Francesco Chicchiriccò wrote: > On 23/05/2016 15:55, Christopher Schultz wrote: >> Marc, >> >> On 5/23/16 9:39 AM, Marc Salvetti wrote: >> > Try something like this > > I18n-attr="title"/> >> >> > That's by memory but should find the exact syntax in the doc >> >>

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Francesco Chicchiriccò
On 23/05/2016 15:55, Christopher Schultz wrote: Marc, On 5/23/16 9:39 AM, Marc Salvetti wrote: > Try something like this I18n-attr="title"/> > That's by memory but should find the exact syntax in the doc Yep, this totally works. Since I'm on a roll, how about this:

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marc, On 5/23/16 9:39 AM, Marc Salvetti wrote: > Try something like this I18n-attr="title"/> > > That's by memory but should find the exact syntax in the doc Yep, this totally works. Since I'm on a roll, how about this: function

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Francesco Chicchiriccò
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 title="some.catalogue:some.text" I18n-attr="title"/> > > That's by > memory but should find the

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 title="some.catalogue:some.text" I18n-attr="title"/> > > That's by > memory but should find the exact

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Francesco Chicchiriccò
On 23/05/2016 15:39, Marc Salvetti wrote: > Hi Chris, > > Try something like this 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 This text will

Re: [2.1] Non-trivial uses of i18n transformer

2016-05-23 Thread Marc Salvetti
Hi Chris, Try something like this That's by memory but should find the exact syntax in the doc Hope this helps, Marc Le 23 mai 2016 8:31 PM, "Christopher Schultz" a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > All, > > I'm finally getting