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
translate "recalculate" "checkout" "continue shopping"
Re: translate "recalculate" "checkout" "continue shopping"
If you chnage the button labels then you must also modify the PHP code.
For example:
to
For example:
Code: Select all
case "RECAL":
RecalculateCart();
break;
Code: Select all
case "RICAL":
RecalculateCart();
break;
Re: translate "recalculate" "checkout" "continue shopping"
thank you! And for che checkout button? what should i modify? it doesn't work
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: translate "recalculate" "checkout" "continue shopping"
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.
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