[Typo3-shop] config.language broken?
Jesper Weissglas
jesper at seventhwave.se
Sat Apr 16 22:37:40 CEST 2005
Franz Holzinger wrote:
> Jesper Weissglas wrote:
>
>> My template setup has config.language = se, and this is picked up fine
>> by the other extensions such as tt_news (2.1.1).
>>
>> However tt_products seems to ignore it and uses english text for
>> product lists and the like, even though I can see in the source that
>> the Swedish (se) language definitions exist for the plugin.
>>
>> Any extra configs needed or something broken?
>
>
> Hello Jesper,
>
> in the locallang_tca.php you do not have many entries for Swedish:
>
> 'se' => Array (
> 'tt_products' => 'Produkter',
> 'tt_products.price' => 'Pris:',
> 'tt_products.price2' => 'Pris (2):',
> 'tt_products.itemnumber' => 'Produkt nr:',
> 'tt_products.inStock' => 'I lager (st):',
> 'tt_products_cat' => 'Produktkategori',
> ),
>
> There are more in English, German and soon coming French.
> So someone should write this and give it to me for the other languages.
> This is for the Backend.
>
> For the Frontend there is still no multi language support for
> tt_products. Maybe there is another products extension which has this
> already implemented.
>
> Franz
>
>
Hmm, multi-language support I tought meant that I could use the same
database for a multi language site? I have a single language swedish
site. All I need is the plugin to pick up the labels from the locallang
files for my config.language instead of the default. Is it not supposed
to do that? If not there's no point at all for the locallang files ;-) !
Anyway, I translated some more labels for you. I am uncertain about a
few of them, since the proper translation would depend on the context in
which the label is used. Below is what I guessed, tell me if I'm wrong
and I will correct ;-)
Gradings : I assume this is customer grading the product?
Memo Items: I assume this is a visitor putting some of his favourite
products on a list?
Also, I don't know what character coding should be used in the files, so
I put html entities in. Not shure how they will propagate through the
CDATA processing???
'se' => Array (
'tt_products' => 'Produkter',
'tt_products.price' => 'Pris:',
'tt_products.price2' => 'Pris (2):',
'tt_products.itemnumber' => 'Produkt nr:',
'tt_products.inStock' => 'I lager (st):',
'tt_products_cat' => 'Produktkategori',
'tt_products.tax' => 'Moms:',
'tt_products.weight' => 'Vikt (kg):',
'tt_products.bulkily' => 'Skrymmande:',
'tt_products.offer' => 'Erbjudande:',
'tt_products.highlight' => 'Produkttips:',
'tt_products.directcost' => 'Direkt kostnad:',
'tt_products.color' => 'Färg:',
'tt_products.size' => 'Storlek:',
'tt_products.special_preparation' => 'Särskild
behandling:',
'tt_products.gradings' => 'Omdömmen:',
'tt_products.subtitle' => 'Kort beskrivning:',
'fe_users.tt_products_memoItems' => 'Favoritprodukter',
'fe_users.tt_products_discount' => 'Rabatt',
),
More information about the TYPO3-project-tt-products
mailing list