[TYPO3-english] Realurl - language problem

Florian Schaeffer florian.schaeffer at mercoline.de
Thu Dec 16 08:08:02 CET 2010


Good morning,

> Now I have entered your prevars you wrote in the realurl conf and in my
> TS I have
>
> config.linkVars = L
>
> [globalVar = GP:L = 0]
> config.sys_language_uid = 0
> config.language = dk
> config.locale_all = dk_DK
> [end]
>
> and
>
>> 'preVars' =>
>> array (
>> 0 =>
>> array (
>> 'GETvar' => 'L',
>> 'valueMap' =>
>> array (
>> 'en' => '2',
>> 'pl' => '3',
>> 'cz' => '4',
>> 'sk' => '5',
>> 'ro' => '6',
>> 'hu' => '7',
>> 'ru' => '8',
>> 'nl' => '9',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> ),
>>
>
> When I now enter my site in the browser it look like
>
> http://www.mysite/66/?L=0
>
> And I hope to get http://www.mysite/home.html

first to make really sure, we both understand what you are trying to 
achieve:

You have one language configured (L=0 and this is danish ?)

You can't just simply take my configuration and us it for your site ...


First step: How many languages are you using ? Which ones ? Which id 
does the corresponding language entry have (just open the list module, 
root page, and point mouse over the language entry. The tooltip will 
show you the id). These ids are the ones you will have to configure.

Second step: enable realUrl in your TS => config.tx_realurl_enable = 1
(and remember to disable simulateStatic)

Third step: configure your RealURL using the correct parameters (that is 
mapping YOUR language id to YOUR locale).

Fourt step: configure your languages in TS and provide different locales 
based on the GET-Var L=0 / dk

Drop me a mail if I should logon to your system ....

Florian


More information about the TYPO3-english mailing list