Zen Cart Logo
Forums / Addon Language Packs / Discount Coupon Language at checkout

Discount Coupon Language at checkout

Locked

Views: 6,771

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
21 Oct 2008, 1:10 PM
#1
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Discount Coupon Language at checkout

Hi guys and girls

I translated the entire site, and everything works fine, except for during checkout the discount coupon window remains in english? Its during step 2 of 3, checkout_payment. Does it get the variable from another file other than discount_coupon.php? :dontgetit Any help will be greatly appreciated.

27 Oct 2008, 7:03 AM
#2
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

bump! anyone?

30 Oct 2008, 9:19 AM
#3
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

bump

please!

30 Oct 2008, 10:18 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

Go to admin, tools, developer tool kit, then use the search tool to search for that specific text.

30 Oct 2008, 10:37 AM
#5
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

Thanks a lot! Will have a look.

31 Oct 2008, 1:46 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Discount Coupon Language at checkout

Did you create alternate descriptions for your coupon in alternate languages?

31 Oct 2008, 7:19 AM
#7
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

I copied the english folder and translated all the files, so I figured it should cover everything. Are there stuff I need to change in other places?

31 Oct 2008, 9:00 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Discount Coupon Language at checkout

Your coupon descriptions are manually entered by YOU via the Admin->GiftCertificates/Coupons->Coupon Administration menu.
If you have multiple languages, you need to manually translate those coupons' descriptions to the other languages as well ... just like you do for products and categories.

31 Oct 2008, 9:14 AM
#9
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

Oh ok, I see what you mean now. No the thing is there is no translation in the coupon section in the checkout process. Its not the description of the coupon itself. Look here:

The red part is the part that stays english, the rest is Afrikaans. Note, the string for 'Code' is translated to Afrikaans though. Strange.

31 Oct 2008, 10:28 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Discount Coupon Language at checkout

Okay. I used the Developers Toolkit to search for "will be applied" and found the english text that you highlighted above as follows:

/includes/languages/english/modules/order_total/ot_coupon.php

Line #17 : define('MODULE_ORDER_TOTAL_COUPON_REDEEM_INSTRUCTIONS', '<p>Please type your coupon code into the box next to Redemption Code. Your coupon will be applied to the total and reflected in your cart after you click continue.</p><p>Please note: you may only use one coupon per order.</p>');
I suspect you'll need to alter your Afrikaans version of that file using the translated text for that phrase.

https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

31 Oct 2008, 11:19 AM
#11
capanno avatar

capanno

New Zenner

Join Date:
Apr 2008
Location:
South Africa
Posts:
25
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

Oh no, It seems I did in fact not translate all the files! thanks for the help, at least I now know where to find that file!

31 Oct 2008, 3:12 PM
#12
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Discount Coupon Language at checkout

Which language are you translating to? Once you are done, please consider putting it in a package and post it on download section. It may help many others.