PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Language in Paypal Pro Form

s2Member Plugin. A Membership plugin for WordPress®.

Language in Paypal Pro Form

Postby rebuscando » June 16th, 2011, 4:55 am

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.
User avatar
rebuscando
Registered User
Registered User
 
Posts: 3
Joined: June 16, 2011

Re: Language in Paypal Pro Form

Postby Cristián Lávaque » June 16th, 2011, 11:02 am

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Language in Paypal Pro Form

Postby rebuscando » June 17th, 2011, 2:02 am

Thank you very much Cristián.
User avatar
rebuscando
Registered User
Registered User
 
Posts: 3
Joined: June 16, 2011

Re: Language in Paypal Pro Form

Postby Cristián Lávaque » June 17th, 2011, 4:52 pm

:)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron