[TYPO3] realurl - language

Artiom Lunev artiom1st at yahoo.com
Thu Apr 20 09:53:26 CEST 2006


I changed the setup little bit (with your help):

TS setup:

#
# language parameter
#
config.uniqueLinkVars = L

config.sys_language_uid = 0
config.language = en
config.locale_all = english

[globalVar = GP:L = 5]
config.sys_language_uid = 5
config.language = fr
config.locale_all = fr_FR

[globalVar = GP:L = 6]
config.sys_language_uid = 6
config.language = jp
config.locale_all = ja_JP
[global]



For realurl I'm using this example (only with my values for language):
http://cvs.cannonbose.com/cgi-bin/viewcvs.cgi/typo3/typo3conf/realurl.php?rev=1.25&view=markup


Url's now display correctly (like: en/about-us.html), although when I 
click on one of the languages links it becomes fr/about-us.html, but 
text stays to be english one, and not french.

Any ideas?

Regards,
Artiom.




Dmitry Dulepov wrote:
> Hi!
> 
> Artiom Lunev wrote:
>> I think I have same problem.
>> Without realurl menu works ok, when realurl enabled it creates correct
>> link to language (example: http://www.domain.com/fr/home.html), but when
>> I click on it, it doesn't change the language.
>> After the click, on the new page I have a link to japanese like that:
>> http://www.domain.com/index.php?id=10en&L=6, and to french like that:
>> http://www.domain.com/index.php?id=10en&L=5
> 
> These links look wrong. What is "id=10en"?
> 
>> config.linkVars = L
>> config.uniqueLinkVars = L
> 
> No need for the first one. Use only "config.uniqueLinkVars". This is not
> a case when "the more -  the better".
> 
>> config.sys_language_uid = 0
>> config.language = en
>> config.locale_all = english
>>
>> [globalVar = GP:L = 0]
>> config.sys_language_uid = 0
>> config.language = en
>> config.locale_all = english
> 
> Last four lines are useless.
> 
> 
>> [globalVar = GP:L = 7]
>> config.sys_language_uid = 7
>> config.language = en
>> config.locale_all = english
> 
> ??? You already have english with sys_language_id=0. Why do you define
> another one? Do you really have two english versions on your site?
> 
>> localconf:
>> array(
>>   'GETvar' => 'L',
>>   'valueMap' => array(
>>   'en' => '7',
>>   'en' => '0',
> 
> What is this supposed to mean?
> 
> Dmitry.



More information about the TYPO3-english mailing list