[TYPO3-english] realurl + languages
horace grant
horace3d at gmail.com
Thu Nov 10 17:26:34 CET 2011
On Thu, Nov 10, 2011 at 5:08 PM, horace grant <horace3d at gmail.com> wrote:
> hi,
>
> at the moment my typo3 site that uses realurl works like that:
>
> www.domain.com/page1/subpage1 -> english version of the page
> www.domain.com/de/page1/subpage1 -> german version of the page
>
> how can i achieve that the language switching also switches the url to
> german?
>
> on the german version the url should look like:
> www.domain.com/de/seite1/subseite1
>
> i hope this is possible?
>
oh! sorry, with a language menu like that this works like i want:
# Marker LANGUAGE
page.10.marks.LANGUAGE = HMENU
page.10.marks.LANGUAGE {
special = language
# We only have languages 0 and 1
special.value = 0, 1
1 = TMENU
1.wrap = <ul>|</ul>
1.NO = 1
# load the content of the Content Object
1.NO.stdWrap.cObject = TEXT
1.NO.stdWrap.cObject.value = English || German
1.NO.wrapItemAndSub = <li>|</li>
1.ACT < .1.NO
1.ACT.ATagParams = class = "current"
}
>
> cheers,
> horace
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list