• Welcome to KonaKart Community Forum. Please login or sign up.
 

OrderTotals

Started by andrea.castelli, September 01, 2011, 05:08:13 pm

Previous topic - Next topic

andrea.castelli

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

julie

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.

andrea.castelli

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

andrea.castelli

It works if I copy also the Totals.java code provided from the custom code. Thank you.
Andrea