[TYPO3-shop] multi-language through locallang.xml?
Franz Holzinger
franz at ttproducts.de
Sat Dec 20 12:25:38 CET 2008
Hello Maarten,
> I started implementing tt_products and I'm pretty impressed that it
> works out of the box. I'm now trying to make it in two languages. In the
> newsgroup I found a solution for this through:
>
> plugin.tt_products.templateFile = fileadmin/template/products_css_de.html
> [globalVar = GP:L = 1]
> plugin.tt_products.templateFile = fileadmin/template/products_css_en.html
> [global]
>
> but I'm wondering if it would be possible to do it with one template and
> a translation file, such as the pi1/locallang.xml that is used in other
> extensions?
This is already possible with tt_products 2.8.0 which is available at
http://ttproducts.de .
> I also saw the extension mkl_products, but that seems to be integrated
> in tt_products by now, right?
The multiple language feature of mkl_products has been implemented into
tt_products about 2 years ago, and even for categories.
> I'm a bit hesitating to create two templates (and possible more) that I
> need to update everytime I change something.
In tt_products 2.8.0 (beta) you can use one template with markers which
will be substituted either by an entry in a XML file or overwritten by
TypoScript.
- Franz
More information about the TYPO3-project-tt-products
mailing list