TEXT_SHIPPING_DETAIL

This topic has been marked as resolved.

In the shopping cart, apperars the text “TEXT_SHIPPING_DETAIL” and “TEXT_USE_COUPON (entry_coupon)”, etc

How can i translate correctly ?

thanks!

*attach image

August 5, 2012 at 1:36 pm #12084

Open this file:
opencart/catalog/language/YOUR LANGUAGE/checkout/cart.php

add the following lines

add in //Text


//Text

// Text
$_['text_success'] = 'Success: You have added %s to your shopping cart!';
$_['text_remove'] = 'Success: You have modified your shopping cart!';
$_['text_coupon'] = 'Success: Your coupon discount has been applied!';
$_['text_voucher'] = 'Success: Your gift voucher discount has been applied!';
$_['text_reward'] = 'Success: Your reward points discount has been applied!';
$_['text_shipping'] = 'Success: Your shipping estimate has been applied!';
$_['text_login'] = 'Attention: You must login or create an account to view prices!';
$_['text_points'] = 'Reward Points: %s';
$_['text_items'] = '%s item(s) - %s';
$_['text_next'] = 'What would you like to do next?';
$_['text_next_choice'] = 'Choose if you have a discount code or reward points you want to use or would like to estimate your delivery cost.';
$_['text_use_coupon'] = 'Use Coupon Code';
$_['text_use_voucher'] = 'Use Gift Voucher';
$_['text_use_reward'] = 'Use Reward Points (Available %s)';
$_['text_shipping_estimate'] = 'Estimate Shipping & Taxes';
$_['text_shipping_detail'] = 'Enter your destination to get a shipping estimate.';
$_['text_shipping_method'] = 'Please select the preferred shipping method to use on this order.';
$_['text_empty'] = 'Your shopping cart is empty!';

add in // Entry

// Entry
$_['entry_coupon'] = 'Enter your coupon here:';
$_['entry_voucher'] = 'Enter your gift voucher code here:';
$_['entry_reward'] = 'Points to use (Max %s):';
$_['entry_country'] = 'Country:';
$_['entry_zone'] = 'Region / State:';
$_['entry_postcode'] = 'Post Code:';

save this file

;)

  • This reply was modified 4275 days ago by  Finezze.
  • This reply was modified 4275 days ago by  Finezze.
  • This reply was modified 4275 days ago by  Finezze.

August 6, 2012 at 4:13 am #12097

Yees thank you, solved!

August 6, 2012 at 2:27 pm #12137

@juanrane

You can also compare your language folder with the default English one. This will help you to find other text that is not translated.

@Finezze

Thanks for the help!

Best,
ThemeBurn team

August 6, 2012 at 4:28 pm #12156

Thanks Finezze, You know how I can translate the button “checkout” and ” Your shopping cart is empty” ?

thanks!

August 6, 2012 at 4:49 pm #12162

Hi juanrane.

1 – Open this file:
opencart/catalog/language/YOUR LANGUAGE/checkout/cart.php

which is the same cited about.

find the line below

$_['text_empty'] = 'Your shopping cart is empty!';

changing the text ‘ Your shopping cart is empty! ‘ for your language.

Ex.:

$_['text_empty'] = 'Su cesta está vacía!';

————————————————–

2 – Open this file:
opencart/catalog/language/YOUR LANGUAGE/common/header.php

find the line below

$_['text_checkout']       = 'Checkout';

changing the text ‘ Checkout ‘ for your language.

Ex.:

$_['text_empty'] = 'Caja';

in case it doesn’t exist, add it by copying from here.

Hope we have helped,

August 8, 2012 at 10:34 pm #12223

Thank you Finezze,

the two files are correctly translated, but but continues in English

http://www.ocle.es

August 9, 2012 at 12:11 pm #12233
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
August 9, 2012 at 12:44 pm #12240
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.