[TYPO3] realurl - language

Dionisios Fragkopoulos dfragos at auth.gr
Mon Jun 12 06:31:31 CEST 2006


Sorry for the late response. I really apologize.

The realurl conf is

<?php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][] 
= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][] 
= 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] 
= 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] 
= 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .= 
',tx_realurl_pathsegment,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
        'init' => array(
                'enableCHashCache' => 1,
                'enableUrlDecodeCache' => 1,
                'enableUrlEncodeHash' => 1,
                'appendMissingSlash' => 'ifNotFile'
        ),
        'redirects' => array(),
        'preVars' => array(
                array(
                        'GETvar' => 'no_cache',
                        'valueMap' => array(
                                'no_cache' => 1,
                        ),
                        'noMatch' => 'bypass',
                ),
                array(
                        'GETvar' => 'L',
                        'valueMap' => array(
                                'gr' => '0',
                                'en' => '2',
                        ),
                        'noMatch' => 'bypass',
                ),
        ),

        'pagePath' => array(
                'type' => 'user',
        'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'spaceCharacter' => '-',
                'languageGetVar' => 'L',
                'expireDays' => '3',
                'rootpage_id' => '38'
        ),
        'noMatch' => 'bypass',

        'fileName' => array (
                'defaultToHTMLsuffixOnPrev' => 1,
                'index' => array(
                        'page.html' => array(
                                'keyValues' => array (
                                        'type' => 1,
                               )
                        ),
                ),
                '_DEFAULT' => array(
                        'keyValues' => array(
                                'type' => 1,
                        ),
                ),
        ),

);
?>


and the Typoscript I use is

...

config.uniqueLinkVars = L

sys_language_uid = 0
language = gr
locale_all = gr_GR

[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = en
config.locale_all = en_EN
[global]

config.simulateStaticDocuments = 0
config.baseURL = http://............../newsite/
config.tx_realurl_enable = 1
config.uniqueLinkVars = L

...


in my root page(which has id=38)

The default language is Greek and second language is English

I really thank you all for your help in advance

Dionisis




"Dmitry Dulepov" <typo3 at fm-world.ru> wrote in message 
news:mailman.1.1145357954.6899.typo3-english at lists.netfielders.de...
> Hi!
>
> Dionisios Fragkopoulos wrote:
>> I use the one tree - 2 languages way. The problem is that the one subtree
>> uses titles in Greek and allthough the realurl work fine for the pages in
>> English tree(english titles here), I can't make it work It doesn't 
>> recognize
>> the greek pages. I use utf-8....
>>
>> The code I use in localconf.php is
> ...
>>   array(
>>    'GETvar' => 'L',
>>    'valueMap' => array(
>>     'de' => '0',
>>     'en' => '1',
>>    ),
>>    'noMatch' => 'bypass',
>>   ),
>>  ),
>
>
> I do not seek Greek here. Also you did not post your TS config.
>
> Dmitry.
> -- 
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.) 





More information about the TYPO3-english mailing list