oxwald wrote:
It works, thanks.
(in fact, the s2-hacks.php is not needed, and therefore creates an error). Only s2memeber-o.php needed
Best regards
Statistics: Posted by Jason Caldwell — November 21st, 2011, 12:34 pm
Statistics: Posted by oxwald — November 21st, 2011, 12:24 pm
Statistics: Posted by Jason Caldwell — November 21st, 2011, 11:49 am
Statistics: Posted by oxwald — November 21st, 2011, 10:19 am
<?php
if (!function_exists ("my_s2_pro_paypal_exp_co_button_locale"))
{
add_filter ("gettext_with_context", "my_s2_pro_paypal_exp_co_button_locale", 10, 3);
function my_s2_pro_paypal_exp_co_button_locale ($translated, $original, $context)
{
if ($context && $context === "s2member-front paypal-button-lang-code" && $original === "en_US")
/* See: <https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECButtonIntegration#id089QD0O0TX4__id08AH8N000HS>. */
$translated = /* Use another/different PayPal locale that you prefer. */ "de_DE";
/**/
return $translated;
}
}
?>
https://www.paypal.com/de_DE/i/btn/btn_xpressCheckout.gif
Statistics: Posted by Jason Caldwell — November 20th, 2011, 11:06 pm
Statistics: Posted by 13zebras — October 31st, 2011, 11:35 pm
Statistics: Posted by Jason Caldwell — May 23rd, 2011, 3:42 am
Statistics: Posted by toddz88 — May 19th, 2011, 6:15 pm
Statistics: Posted by Cristián Lávaque — May 19th, 2011, 5:58 pm
Statistics: Posted by toddz88 — May 19th, 2011, 5:52 pm
Statistics: Posted by kenduret — October 1st, 2010, 2:12 pm
Statistics: Posted by kenduret — September 29th, 2010, 2:22 pm