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

Andreas Becker ab.becker at web.de
Wed Jun 6 09:39:08 CEST 2007


Hi Rego

My Explanations would mainly solve the translation Problem

I'd like get a URL all in spanish when the frontend user select this
> language: .../mi_pagina/mi_variable/1/.
>

As you can see on our demo sites.

http://www.t3pack.org/chinese-support/chinese-language/chinese/

Is it that what you want?

Andi

2007/6/6, Manuel Rego Casasnovas <mrego at igalia.com>:
>
>
> 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
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list