[Typo3-dev] How to code a multi-language extension like tt_news 2.0?
Arco
arco at appeltaart.mine.nu
Wed Nov 24 20:24:07 CET 2004
Chris Lauer wrote ..
> Hi there,
>
> i am curious if anybody can explain to me how to code one of my own extensions
> like ttnews in terms of multi-language support. It's great to have the
> real translate-option in the backend instead of having to create single
> items for each language. Another huge advantage is - of course - that
> you can switch languages in single view.
>
> If anybody out there could explain to me, what code is necessary in which
> file to achieve the language overlay, I would be very thankful.
How the translation is done in tt_news I dont know.
The language code (if set by the template):
$this->language = $GLOBALS["TSFE"]->config["config"]["language"] ;
And if I'm correct the getLLL routine can be fed with different languages.
Was this partly what you were looking for?
Arco
More information about the TYPO3-dev
mailing list