[TYPO3-english] Translate strings in template
Boris Gulay
boris at boressoft.ru
Sat Mar 5 14:31:59 CET 2011
05.03.2011 15:52, Victor Livakovsky пишет:
> Hi, Boris.
>
>> For now I'm doing it by replacing this strings with markers and
>> replacing markers by localized content from llxml file inside
>> TypoScript template. It looks like this:
>>
>> FE_NEWS.data = LLL:fileadmin/user_upload/design/locallang.xml:feNews
>>
>> Is there any other (better) way?
>
> Have a look at stdWrap 'lang' property:
> page.10 = TEXT
> page.10.value = I am a Berliner!
> page.10.lang.de = Ich bin ein Berliner!
Are you sure that storing localized strings inside TypoScript template
is better that using llxml files for that? :)
More information about the TYPO3-english
mailing list