[TYPO3] serach box with multiple language

Lars Haendler typo3 at larshaendler.com
Tue Sep 16 18:19:59 CEST 2008


Hi,

rupali.ffm at googlemail.com wrote:
> Hello list,
> i need to show "search" as default text for english language and "suche" as
> default text for german language in macina_search box, following is the
> template i used, but i dont know how to change the dafault value to search
> in case of english language. pls help..

Just create for every language a Templatefile and the add them like this 
to your language setup.

[globalVar = GP:L = 1]
// your normal settings
plugin.feadmin.dmailsubscription.file.templateFile = 
{fileadmin/templates/dmailsubscrip_englisch.html}

[globalVar = GP:L = 0]
// your normal settings
plugin.feadmin.dmailsubscription.file.templateFile = 
{fileadmin/templates/dmailsubscrip_default.html}

[global]

Regards
Lars



More information about the TYPO3-english mailing list