[TYPO3-english] Language Condition

Gregor Hermens gregor at a-mazing.de
Thu Jun 3 12:15:20 CEST 2010


Hi,

ppraveenk schrieb:

> I just came to know that conditions should not be written inside braces.
> Is this true?
> Then how do I specify a condition inside braces.
> I have the code as below:
> 
> temp.mainTemplate {
>   subparts.topmenu.5 = HTML
>   subparts.topmenu.5.value = My home page
> }
> 
> Now how can I show the translated for spanish language??

temp.mainTemplate {
  subparts.topmenu.5 = HTML
  subparts.topmenu.5 {
    value = My home page
    stdWrap.lang.es = página personal
}

Cheers,
Gregor
-- 
http://www.a-mazing.de/   |   Certified TYPO3 Integrator



More information about the TYPO3-english mailing list