[Typo3] Problems with language switching

Cornelis Kater kater at mail.sub.uni-goettingen.de
Thu Mar 31 17:55:10 CEST 2005


I've got some trouble with the the switching of the websites' language. I 
DID read all the Posts in the lists and the tutorials, but that didn't help.

- I did insert the TS-Code to catch the "L"-Variable
- I created the languages in the root of the website
- I build a test page with different language content

The switching of the language variable works fine (if I put in a L=1, the 
value L=1 is automatically appended to every link), but the content of the 
page is always the default content.

This is the relevant part of my TS-Code, residing in the main-template 

# - - - language specific (default)
config.linkVars = L
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE

# - - - language specific (english)
config.sys_language_uid = 1
config.language = en
config.locale_all = en_EN
plugin.meta.global.description = english description
plugin.meta.global.keywords = english, keywords
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1

# - - - language specific (german)
config.sys_language_uid = 2
config.language = de
config.locale_all = de_DE
plugin.meta.global.description = german description
plugin.meta.global.keywords = german, keywords
plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 2

My server configuration:

- Apache 2.0.48
- PHP 4.0.3
- MySQL 4.1.10a
- Typo3 3.7.0

I used the templavoila extension to build the page (But I created the 
differennt languages' content via the old page module) and I use RealURL 
since some days (so, no L=1 is used, the path language key /en/ or /de/ also 
stays in path, if I switch the language but the content doesn't change).

Does somebody knows how to solve the problem?
I know it's a some kind of standard question... :)

Cornelis Kater

Dipl.-Sozw. Cornelis Kater
Göttinger DigitalisierungsZentrum (GDZ)
Niedersächsische Staats- und Universitätsbibliothek Göttingen (SUB)
State and University Library of Lower Saxony
Papendiek 14
37073 Göttingen, Germany
Tel:  +49 551 39-5425
Fax:  +49 551 39-12175

More information about the TYPO3-english mailing list