[TYPO3] Multiple languages with multiple domains in a single page tree?
Rick Janda
Rick.Janda at gmx.de
Fri Apr 7 09:05:01 CEST 2006
After poking around in the TSref for a while, I found the solution by my
own:
A change from [globalString= HTTP_HOST=*.com] to
[globalString= IENV:HTTP_HOST=*.com]
^^^^^
does the job. I don´t know, why the original version does not work. It
was an example from the TSref. But adding "IENV:" resolve the problem
for me.
Kind regards,
Rick Janda
Rick Janda wrote:
> Hello,
>
> I have a site with two languages in a single page tree: German and English
> Furthermore I have two domains: .com and .de
> I tried to select English as page language, if someone use the .com
> domain, and german otherwise with the following code in my template:
>
> config.sys_language_uid = 0
> config.language = de
> config.locale_all = de_DE
>
> [globalString= HTTP_HOST=*.com]
> config.sys_language_uid = 1
> config.language = en
> config.locale_all = en_IE at euro
> [global]
>
> Unfortunately it does not work. I always will get the german content,
> regardless of typing in the .com or the .de domain in the browser.
>
> Has anybody an idea how to get it right?
>
> Thanks in advance for your help.
> Kind regards,
> Rick Janda
More information about the TYPO3-english
mailing list