[TYPO3-english] stdWrap and language

Rik Willems rik at actiview.nl
Mon May 18 13:17:43 CEST 2009


Hi all,

The TSref says:

config.language = de
page.10 = TEXT
page.10.value = I am a Berliner!
page.10.lang.de = Ich bin ein Berliner!

Output will be “Ich bin...” instead of “I am...”


This is great because you don't have to use a language condition of 
which the id can change accros sites. But, I'd like this for stdWrap as 
well, how would that work?

page.10.value.wrap = <div class=default> | </div>

Output will be “<div class=default>Ich bin...</div>” instead of “<div 
class=default>I am...</div>”

But something like:
page.10.lang.de.wrap = <div class=lang-de> | </div>
or
page.10.wrap.lang.de = <div class=lang-de> | </div>
doesn't work.

Is there a way to get this done? Looking forward to ideas... Thanks!

Regards,
Rik


More information about the TYPO3-english mailing list