Page 1 of 1

Language in Paypal Pro Form

PostPosted: June 16th, 2011, 4:55 am
by rebuscando
Hi all,

I want to show the form in Spanish. I have used the "lc" parameter in the form in this way:

[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="1 EUR / Registro" ps="paypal" lc="ES" cc="EUR" ... ]

But the form remains in English.

What's wrong? Thanks in advance!

Regards,

Marlete.

Re: Language in Paypal Pro Form

PostPosted: June 16th, 2011, 11:02 am
by Cristián Lávaque
Hello Marlete.

That attribute changes the language over at PayPal, not in your website. You'll need to edit some files to translate s2Member.

To translate the form I think you'll need to create a custom template for it.

Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?

Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.


You tell your pro-form to use your template file with the template shortcode attribute. WP Admin -> s2Member -> PayPal Pro-Forms -> Shortcode Attributes (Explained)

template="" 100% optional. This can be a custom template file that exists inside your WordPress® theme directory. For example: template="checkout.html".


I hope that helps. :)

Re: Language in Paypal Pro Form

PostPosted: June 17th, 2011, 2:02 am
by rebuscando
Thank you very much Cristián.

Re: Language in Paypal Pro Form

PostPosted: June 17th, 2011, 4:52 pm
by Cristián Lávaque
:)