KonaKart Community Forum

Installation / Configuration => Programming of KonaKart => Topic started by: andrea.castelli on September 01, 2011, 05:08:13 pm

Title: OrderTotals
Post by: andrea.castelli on September 01, 2011, 05:08:13 pm
Hi, another question.
In  the OPC and ShowOrders the order totals array is called.

For example:

Sub-Total:   8.90CHF
Table Rate (Best Way):   8.50CHF
Total:

The label Sub-Total and Total are the title of the object orderTotal. How can I internazionalize them?

Thanks.
Bye
Andrea
Title: Re: OrderTotals
Post by: julie on September 01, 2011, 05:21:31 pm
If you look for example at custom\modules\src\com\konakart\bl\modules\ordertotal\total you'll see that there are properties files for each language.
Title: Re: OrderTotals
Post by: andrea.castelli on September 05, 2011, 08:55:46 am
Thank you for the reply but I don't understand.

I read http://www.konakart.com/docs/modules.html and the custom code.

I tried to put the message properties total_en.properties and total_it.properties under the folder bl/modules/ordertotal/total but it doesn' t work. Did you mean to do this? Maybe I made a mistake?

Or should I rewrite the Total.java ?

Can you clear up these things?

Thank you.
Andrea
Title: Re: OrderTotals
Post by: andrea.castelli on September 07, 2011, 11:22:13 am
It works if I copy also the Totals.java code provided from the custom code. Thank you.
Andrea