[TYPO3] Globalvars

Bas van der Togt b.vandertogt at profinit.com
Fri Jul 21 14:41:29 CEST 2006


Ciao Peter!

I've got two domains (wolfsstyle.nl/typo3 and wolfsstyle.com/typo3).
I want to show the dutch language if you go to wolfsstyle.nl/typo3 and 
the english language if you go to wolfsstyle.com. Its working for so far.

But if you go to wolfsstyle.com/typo3 is does not translate everything 
(like menu and some pics). And if you want to swith language with the 
language menu it stays in the current domain. Does anybody know how to 
fix this?

Emamples:
http://www.wolfsstyle.nl/typo3/
http://www.wolfsstyle.com/typo3/

Your help would be great!
cheers,
Bas

My code:

# Config
config {
   doctype = xhtml_trans
   no_cache = 0
   index_enable = 1
   xhtml_cleaning = all
   simulateStaticDocuments = 0
   prefixLocalAnchors = all
   meaningfulTempFilePrefix = 1
   disablePrefixComment = 1
   inlineStyle2TempFile = 1
   linkVars = L
   sys_language_uid = 0
   language = nl
   locale_all = nl_NL
   noBlur = 1
   stat = 1
   stat_excludeBEuserHits = 1
   stat_apache = 1
   stat_mysql = 1
   stat_apache_logfile = geodan.log
}

[globalString= IENV:HTTP_HOST = *wolfsstyle.nl]
config.sys_language_uid = 0
config.language = nl
config.locale_all = nl_NL
config.baseURL = http://wolfsstyle.nl/typo3/

[globalString= IENV:HTTP_HOST = *wolfsstyle.com]
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN
config.baseURL = http://wolfsstyle.com/typo3/

[global]

Peter Niederlag schreef:
> Hi,
> 
> Bas van der Togt schrieb:
> 
>>Hello list,
> 
> [...]
> 
>>[globalVar = GP:L = 1]
>>temp.Language = HMENU
>>
> 
> does this mean you are attempting to switch languages as well based on
> domain and L param?
> 
> Something gets mixed up in there. I gues it would be pretty easy to spot
> the problem by probong/analyzing the site.
> 
> Actually you are only swithcing the language settings based on domains
> (conditions) but I don't see where your links should point to the other
> domain.
> 
> Anyway I am sorry I can'Tt easily sport the problem without a better
> description what you want to achieve and how it's currently working
> (means public link to site available?)
> 
> Greets,
> Peter



More information about the TYPO3-english mailing list