[TYPO3] RealURL - fiexedPostVars for subpages OR internationalize get tag
Andreas Becker
ab.becker at web.de
Wed Jun 6 12:20:02 CEST 2007
The URL can be spanish - Nullo Problemo
Give me a spanish word or some spanish words and I rename my pages and you
can see it in spanish OK
If the Pagetitle is written in spanish it appears in spanish.
On the example page it is written in English as I don't know the languages.
That's why I wrote i.e.
chinese-support/chinese-language/chinese
This means one page has Page Title
chinese-support
with subpage
chinese-language
and language code chinese
You can do the same
Hablas (as TOP Page Title)
Espanol (as subpage of Top Page
It will form the following URL
domain.com/hablas/espanol/es es is the language code
This code can also be placed after the domain
domain.com/es/hablas/espanol
or you can substitute es with any other word,sentence like :
This_is_the_url_in_spanisch
That is exactly what is happening on the example pages and I guess what you
would like to have too.
In this case it is NOT mainly a URL thing, it is more or less a
Pagetranslation case, like I explained further up.
Andi
2007/6/6, Manuel Rego Casasnovas <mrego at igalia.com>:
>
>
> Hi Andreas.
>
> I see the path in the page content translated, but in the example the
> URL is in english:
> http://www.t3pack.org/chinese-support/chinese-language/chinese/
>
> And I'd like that the URL was translated, for example to spanish.
>
> Furthermore I don't find the source code to use in my RealURL
> configuration in the examples.
>
>
> I'd like to translate 'my_var' in the URL of my pages. How I can
> translate the key for the GET param, which I set it in the second line:
>
> postVarSets' => array( '_DEFAULT' => array (
> 'my_var' => array( ...
>
>
> Thanks,
> Rego
>
> --
> http://www.igalia.com
>
>
> Andreas Becker escribió:
> > 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
> >>
> >>
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> >
> _______________________________________________
> 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