[Typo3] Meta tag corresponding to language setting

Robert Markula robert.markula at gmx.net
Tue Mar 8 08:11:14 CET 2005


Hi Ries,
Thanks for your help, I will look into it.

Ro

Ries van Twisk wrote:
> This is one of the solutions..... I haven't tested it though
> # Default language
>  page.meta.DESCRIPTION =
>   page.meta.KEYWORDS =
> 
> # User selected language using L
> [globalVar = GP:L = 2]  page.meta.DESCRIPTION =
>  page.meta.KEYWORDS =
> [global]
> 
> 
>> I want the language meta tag in the header to reflect the currently 
>> set language of the page. So if the page is in french, I want the meta 
>> tags to be:
>> <meta http-equiv="content-language" content="fr-FR" />
>> <meta name="language" content="fr-FR" />
>>
>> If there is a german translation of the page, I want this translation 
>> to be:
>> <meta http-equiv="content-language" content="de-DE" />
>> <meta name="language" content="de-DE" />
>>
>> How can I do this?
>>
>> Best Regards,
>> Ro



More information about the TYPO3-english mailing list