[Typo3-german] Hilfe wer kann mir bei RealUrl und mehrsprachgkeitweiterhelfen

Beate Sommer beate.sommer at macdev.de
Tue Nov 29 13:25:41 CET 2005


Okay ich hab jetzt das in meiner localconf.php

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'german' => '0',
'en' => '2',
'english' => '2',
),
'valueDefault' => 'de'
),
),
);

und das in meien rewrite rules

RewriteRule 
^(typo3|typo3temp|t3lib|tslib|fileadmin|uploads|showpic\.php) - [L]
RewriteRule ^typo3$ typo3/index_re.php [L]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l



RewriteRule .* /index.php [L]


Dann hab ich in meine Template:


#defining the default language
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE



#Setting up the language variable "L" to be passed along with links
config.linkVars = L

# German language, sys_language.uid = 0
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
[global]

# English language, sys_language.uid = 2
[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = en
config.locale_all = english
[global]

#Real Url Setup
config.simulateStaticDocuments = 0
config.baseURL = 1
config.tx_realurl_enable = 1

Wenn ich jetzt in meine URL einfach http://..../english/history einbau 
lande ich immer auf der index.php also startseite
Ich weis einfach nicht mehr weiter.



More information about the TYPO3-german mailing list