[TYPO3] easier way to do translations for pages
Ralph Grier
rpgrier at gmail.com
Sat Sep 22 15:45:46 CEST 2007
Thank you Tomas. I will use this. But I still dont understand how to get
around the problem if a translation doesnt exist for a language for a
certain page. I dont want the user to get to the typo3 error message page
that says "This page doesnt exist in the language"
On 9/22/07, Tomas Mrozek <mail at cascaval.com> wrote:
>
> I think that you are basically looking for a language menu
> (special=language).
>
> EXAMPLE:
> -------
> subparts.JAZYKY = HMENU
> subparts.JAZYKY.special = language
> subparts.JAZYKY.special.value = 0,1
> subparts.JAZYKY.1 = TMENU
> subparts.JAZYKY.1.noBlur = 1
> subparts.JAZYKY.1 {
> NO.stdWrap.cObject = HTML
> NO.stdWrap.cObject.value = <img src="[path]" alt="[text]" title
> ="[text]" width="20" height="13" /> || <img src="[path]" alt="[text]"
> title ="[text]" width="20" height="13" />
>
> ACT < .NO
> ACT = 1
> ACT.doNotShowLink = 1
>
> USERDEF1 < .NO
> USERDEF1 = 1
> USERDEF1.doNotLinkIt = 1
> USERDEF1.allWrap = <a href="/">|</a> || <a href="en/">|</a>
> }
>
> This is just for two languages but you can add as many as you please.
> Take it as a start and modify so that it fits your requirements.
>
> Tomas Mrozek
> _______________________________________________
> 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