[TYPO3] easier way to do translations for pages
Tomas Mrozek
mail at cascaval.com
Mon Sep 24 10:46:38 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.
That's what "USERDEF1" part is for. If the translation doesn't exist,
TYPO3 generates links according to this part. Due to
"USERDEF1.doNotLinkIt = 1" it doesn't generate the link at all and
thanks to "USERDEF1.allWrap" it wraps the images (flags) in links that
lead to the homepage of that language (you have set the correct URL, of
course).
So, in short, if the translation of the current page exists the "NO" and
"ACT" parts come in play. If the translation doesn't exist, "USERDEF1"
is used.
Tomas Mrozek
More information about the TYPO3-english
mailing list