[Typo3-UG Dutch] meertalige website, op basis van domeinnaam een standaard taal laten zien (1 van de 2)
Jordan van Bergen
jordanvanbergen at gmail.com
Sat Jan 8 21:08:29 CET 2005
Hoi Allemaal,
Stop dit in SETUP van je template en het werkt!
# Setting up the language variable "L" to be passed along with links
[globalString = ENV:HTTP_HOST=www.biblionef.nl]
config.sys_language_uid = 1
config.language = nl
config.linkVars = L
temp.template = fileadmin/templates/template_nl.tmpl
[globalString = ENV:HTTP_HOST=www.biblionef.org]
config.sys_language_uid = 0
config.language = en
config.linkVars = L
temp.template = fileadmin/templates/template_en.tmpl
# Dutch Language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = nl
temp.template = fileadmin/templates/template_nl.tmpl
# English Language, sys_language.uid = 0
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = en
temp.template = fileadmin/templates/template_en.tmpl
[GLOBAL]
Diegene die nu www.biblionef.nl intikt krijgt de NL teksten en diegene die
via www.biblionef.org de site binnenkomt krijgt de engelse teksten.
Groeten,
Jordan van Bergen
jordanvanbergen at gmail.com
More information about the TYPO3-UG-dutch
mailing list