[TYPO3] Multiple languages with multiple domains in a single page tree?

Francesco Pessina typo3news at yahoo.it
Fri Apr 7 10:36:59 CEST 2006


Great work!

I've checked my config. and I found that it works because apache know in 
the httpd.conf how to "remap" all HTTP POST to relative websites. The 
"domain" configuration in Typo3 seems to be not necessary under this 
circumstance and the globalString simply modify the header in the HTTP 
header (I think). I have all my websites in a single tree (the second 
solution of Kasper's Multilanguage Site article).

A very stupid question: in your config.locale_all you have set 
en_IE at euro but what it mean? What stand IE and @euro? I use the standard 
en_US or en_UK (for USA or United Kingdom)? Is compatible with utf-8 
charset?

Cheers,

Francesco.

Rick Janda ha scritto:
> 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