1. Hope
  2. Tuesday, 05 February 2019
Could you please advise how can I translate the donation add-on "donate now" button
I also noticed that the PayPal screen "purpose" should be translated from the english word "donation" to the Italian word "Donazione"
Could you please advise where to find those words and how to translate them?
Best regards
Accepted Answer
Hi,
Thanks for your query. Please check this screencast https://files.fm/u/dd88f8t6
Hope this will help.

-Best Regards
  1. more than a month ago
  2. Hope
  3. # Permalink
Responses (3)
Hi Sifat,
you explanation on how to translate the donation button is OK and I easily find the way to fix it.
translated button on my site

The other problem is about the "purpose" that the donate add-on define when invoking PayPal
I've found those statements into the script section of the page at main.js line 231.

if (amt != '' && amt > 0) {
$(".sppb-addon-donation .donation-button .donation-button-link";).attr("href", "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business="; + pid + "&item_name=donation&amount=" + amt + "¤cy_code=" + crncy_code[0] + "";);
}

If I'm not wrong the &item_name is the one that put be translated

This is the PayPal url
https://www.paypal.com/donate/?token=_bHHwK-q4gXegdkwS24Vm5cgrSJyDSSH1Ekkvrjyy3xooawldds3-Sd8GSePxs7yDRnCJ0&country.x=IT&locale.x=

paypal donation page.png
Attachments (1)
  1. more than a month ago
  2. Hope
  3. # 1
Hi,
Now i get the issue and it's not from our end. That was a parameter from paypal to access their API.
And sorry to say but that can't be multilingual.
  1. more than a month ago
  2. Hope
  3. # 2


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.