[TYPO3-english] changing default language

Katja Lampela katja.lampela at lieska.net
Sat Jan 30 12:52:45 CET 2010


Hi,

I have to change the default language after the site has been 
constructed as one tree approach and default was finnish (0) and the new 
default language will be thai (3).

I have realurl and sr_language_menu installed and the addresses are like:

www.myaddress.com/ and www.myaddress.com/?L=3

When default lang is 0 everything works okay.

But now after changing it to 3 I can't get the language menu link to 
finnish language like
www.myaddress.com/?L=0

It still shows the address www.myaddress.com/ and obviously this shows 
now thai.

If I write the ?L=0 in the end it shows the correct language and the 
language menu shows that finnish is activated.

So the question is: how can I add the /?L=0 in the language menu finnish 
language link?

My ts setup is:

config.simulateStaticDocuments = 0
config.baseURL = http://www.myaddress.com/
config.tx_realurl_enable = 1
config.uniqueLinkVars = 1
config.linkVars = L

##thai as default
config.sys_language_uid = 3
config.language = th
config.locale_all = th_TH.UTF-8
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 3

[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = fi
config.locale_all = fi_FI
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
[GLOBAL]


-- 
With kind regards

Katja Lampela
*Lieska-tuotanto
*www.lieska.net


More information about the TYPO3-english mailing list