thenbrent/paypal-digital-goods — pull request #8 by doup (2013-06-09 18:58:51+00:00)
Title: Argument to localize the payment button

This adds a new argument to ::get_buy_button() so that we can have localized buttons. Just pass a 'locale' argument:

$button = $paypalPurchase->get_buy_button(array('locale' => 'fr_FR'));
echo $paypalPurchase->print_buy_button(array('locale' => 'es_ES'));