translate "recalculate" "checkout" "continue shopping"

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
alessiamarina

translate "recalculate" "checkout" "continue shopping"

Post by alessiamarina »

Hi... I need to translate in italian "recalculate" "checkout" "continue shopping" on CART.PHP

If i change the name, for example "recalculate"="ricalcola", the cart page doesn't work.

Can you help me?

thank you
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: translate "recalculate" "checkout" "continue shopping"

Post by Pablo »

If you chnage the button labels then you must also modify the PHP code.

For example:

Code: Select all

      case "RECAL": 
         RecalculateCart();
         break;
to

Code: Select all

      case "RICAL": 
         RecalculateCart();
         break;
alessiamarina

Re: translate "recalculate" "checkout" "continue shopping"

Post by alessiamarina »

thank you! And for che checkout button? what should i modify? it doesn't work
User avatar
Navaldesign
 
 
Posts: 862
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Re: translate "recalculate" "checkout" "continue shopping"

Post by Navaldesign »

Look further down the code, it is the same concept.

The code uses the first 5 characters, all UPPER case.
So, depending on how you have named your buttons, you need to modify the code accordingly.

case "CONTI":
header("Location: ".$shopping_url);
break;

// recalculate
case "RECAL":
RecalculateCart();
break;

// proceed to checkout
case "CHECK":
header("Location: "."customer.php");
break;


For each of the 3 buttons, change the text (5 chrs, all upper case) to match your button Value(text) in Italian.
www.dbtechnosystems.com
alessiamarina

Re: translate "recalculate" "checkout" "continue shopping"

Post by alessiamarina »

perfect! ;-)
Post Reply