[TYPO3] Multi domains multi language site
JoH
info at cybercraft.de
Sun May 14 12:48:52 CEST 2006
>> I have a problem, here is my problem:
>>
>> I have 2 domains (www.french.com and www.english.com (by example))
>> The 2 domains point on the same pagetree.
>> If I'm on www.french.com, I see the french version and if I'm on
>> www.english.com I see the english version. All of this without
>> changing the domain URL (www.french.com/index.php?id=120&L=fr |
>> www.english.com/index.php?id=120&L=en ).
>>
>> Is it possible ?
>
> I think the two things are different. The typo3 can handle virtual
> domains. This means that you don't have to edit you httpd.conf
> instead of this you can create more trees withhin one typo3
> installation and you can assing domain items for the root pages of
> every trees. See the Web/Lists/Create new record.
> If you'd have just one tree, in this case you can create translations
> for every page items. In this case you see the translations so.
> www.domain.com/index.php?id=120&L=en
It has nothing to do with single tree against multiple tree concepts.
It's all about using the proper conditions.
You can see it here:
www.xposign.com
or
www.xposign.de
This is the language related typoscript snippet from this site:
[globalString = HTTP_HOST= *xposign.de]
config {
sys_language_uid = 0
language = de_DE
locale_all = de_DE at euro
}
[globalString = HTTP_HOST= *xposign.com]
config {
sys_language_uid = 1
language = en_IE
locale_all = en_IE at euro
}
[global]
And for the language switch:
temp.langmenu = COA
temp.langmenu {
10 = TEXT
10 {
value = <img src="fileadmin/images/deutsch.gif" border=0>
wrap = <td valign="bottom">|</td>
typolink {
addQueryString = 1
parameter.dataWrap = http://www.xposign.de/{TSFE:id}.0.html
}
}
20 = TEXT
20 {
value = <img src="fileadmin/images/english.gif" border=0>
wrap = <td valign="bottom">|</td>
typolink {
addQueryString = 1
parameter.dataWrap = http://www.xposign.com/{TSFE:id}.0.html
}
}
}
Should be working with some slight modifications.
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
More information about the TYPO3-english
mailing list