[TYPO3] RealURL - fiexedPostVars for subpages OR internationalize get tag

Manuel Rego Casasnovas mrego at igalia.com
Wed Jun 6 08:42:10 CEST 2007


Hi Andi!

Thank you for all your explanations. But I think that I didn't explain
myself well. How I said in my first post, now I already translate the
page name using the next configuration:
'preVars' => array (
       '0' => array (
           'GETvar' => 'L',
           'valueDefault' => 'es',
           'valueMap' => array (
                'es' => '2',
                'en' => '1',
           ),
           'noMatch' => 'bypass',
       ),
   ),

The result is:
http://www.mydomain.com/en/my_page/
http://www.mydomain.com/es/mi_pagina/

The problem is the param, with the next configuration:

'postVarSets' => array(
    '_DEFAULT' => array (
    'my_var' => array(
        'GETvar' => 'my_ext[my_var]',
        'valueMap' => array (
            '0' => '0',
            '1' => '1',
            '2' => '2',
           ),
           'valueDefault' => '0',
    ),
   ),
)


I'd like translate the tag 'my_var' and get the next result:
http://www.mydomain.com/en/my_page/my_var/0/
http://www.mydomain.com/es/mi_pagina/mi_variable/0/

Andi excuse me, but with your explanation I don't know how I can do it.

Thanks ;-)
   Rego

--
http://www.igalia.com



More information about the TYPO3-english mailing list