[TYPO3-english] RealURL and tt_news: categories are not translated

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Mon Jan 20 12:54:26 CET 2014


Hello!

I am having a hard time getting the tt-news-categories translated with 
REALURL...I am using 3 languages (NL,EN and ES)


Used this snippet:
http://typo3.org/documentation/snippets/sd/251/

Other parts of the URL are translated correctly, for example, under ES I 
get:
http://www.test.nl/es/portafolio/kategorie/commercieel/

"kategorie/commercieel/" is not translated...

Any ideas what I am doing wrong/missing?

Thanks in advance!

Regards,
-brt



...
     'postVarSets' => array(

         '_DEFAULT' => array(
             //archive
             'period' => array (
				array (
					'condPrevValue' => -1,
					'GETvar' => 'tx_ttnews[pS]',
					//'valueMap => array()
				),
				array (
					'GETvar' => 'tx_ttnews[pL]',
					//'valueMap => array()
				),
            		array (
				   'GETvar' => 'tx_ttnews[arc]',
				   'valueMap' => array(
						'non-archived' => -1,
						),
					  ),
             ),
             'browse' => array (
             	array (
                 'GETvar' => 'tx_ttnews[pointer]',
               ),
             ),
             'cats' => array (
				array (
					'GETvar' => 'tx_ttnews[cat]',
					'lookUpTable' => array (
						'table' => 'tt_news_cat',
						'id_field' => 'uid',
						'alias_field' => 'title',
						'addWhereClause'=> 'AND NOT deleted',
						'useUniqueCache'=> 1,
						'useUniqueCache_conf' => array (
							'strtolower' => 1,
							'spaceCharacter' => '-',
							'encodeTitle_userProc' => 'user_realurlEncTitle->process',
						),
					),
				),
             ),
             'article' => array(
                 array (
                     'GETvar' => 'tx_ttnews[backPid]',
                     // 'valueMap => array(
                     // ),
                 ),
                 array (
                     'GETvar' => 'tx_ttnews[tt_news]',
                     'lookUpTable' => array (
                         'table' => 'tt_news',
                         'id_field' => 'uid',
                         'alias_field' => 'title',
                         'maxLength' => 12,
                         'addWhereClause'=> 'AND NOT deleted',
                         'useUniqueCache'=> 1,
                         'useUniqueCache_conf' => array (
                             'strtolower' => 1,
                             'spaceCharacter' => '-',
                         ),
                     ),
                 ),
             ),
         ),

     ),




More information about the TYPO3-english mailing list