[TYPO3-english] localized subtitle with typoscript

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Sun Oct 24 16:00:50 CEST 2010


On 2010-10-24 15:59, Krystian Szymukowicz wrote:
> On 2010-10-24 15:38, Adrian Mot wrote:
>> Hi Krystian,
>>
>> Did you add "Alternative Page Language" record to the page?
>
> Yes I have. The localization for page:title works fine.
>
>> I just tested your script on TYPO3 4.4.4 and it works fine with
>> alternative
>> language.
>>
>> Anyway, you could use the following script do display the current page
>> title/subtitle:
>>
>> temp.content_header = TEXT
>> temp.content_header.data = page:subtitle
>>
>
>
> Yes. This is what I had on the beginning but decided to use HMENU with
> hope that it will take the language overlay better.
>
> Anyway with "title" it works. It takes localized page title.
>
> temp.content_header = TEXT
> temp.content_header.data = page:title
>
>
> With "subtitle" it does not. It takes subtitle form default language.
>
> temp.content_header = TEXT
> temp.content_header.data = page:subtitle
>
>
>
> Hmm... If localisation for "page:subtitle" works at yours then I must
> have something wrong with my TYPO3 installation then.


Ouch I got it:

$TYPO3_CONF_VARS['FE']['pageOverlayFields'] must include "subtitle".

Now it works.


--
grtz
Krystian Szymukowicz


More information about the TYPO3-english mailing list