Where do I edit the text on the ‘Login / Registration’ forms?
See General Options -> Login/Registration Design. Change to Yes, and save.
On CSS, see this thread.
Thread Starter
Greg
(@dropshipper)
Thanks KTS915.
I’ve got the functionality enabled but I’m still not sure how to change the default text? Do you happen to know which language file is it in?
Also, rather than just override the css in my child theme I would prefer to know which css file actually styles that area to begin with. I just want to understand what I’m overriding.
Thanks π
I don’t really understand your point about which CSS file the stuff is in. That’s really the point of CSS: it doesn’t matter where the attributes are set; what matters is which stylesheet has priority. So, as a user and not a dev, I have no idea which file it’s in (and, frankly, I have little interest in knowing).
On your first question, there’s actually a brilliant plugin that renders that moot too. (You don’t want to fiddle with plugin files because they’ll get overridden by an update.) The plugin is called Say What?
To use it, just copy the text you want to change. Then insert s2member as the text domain and s2member-front as the text context. Then type in what you want the text to say, and save. Voila!
Adding up here – @kts915
Do you know the text content / text domain for the following strings (of the s2member stripe pro form checkout)?
“Submit Form”
and
“Country”
??
Using just s2membera s text domain doesn’t work. Adding s2member-front to the text content field also doesn’t help. Fields names don’t change. So I guess I haven’t found out the right ones yet. (I know I could change “Country” in line 138 of stripe-checkout-form, but that would be overwritten by s2member updates. Also “submit form” is not a string present in that file.
Ah okay – I had first an entry without text content – and that messed it up. Deleted that and I’m more or less fine. However – I cannot find any way to change the “Submit Form” button text. Is this may a picture and not a proper button at all?
@extremecarver,
This is how I have done it:
Original string: Submit Form
Text domain: s2member
Text context: s2member-front
Replacement string: whatever you like
Hmm – on which form?
Maybe Stripe is different from Paypal Pro Form?
Here is my list – all are working except the “Submit Form” (and I tried to translate the password indicator – that’s showing very weak, weak, medium – but I guess that’s not a s2member form but wordpress in built):
Billing Method s2member s2member-front Billing Method / Kreditkarte
Checkout Now s2member s2member-front Checkout Now / Jetzt Bezahlen bei Klick auf "Submit Form"
Country s2member s2member-front Country of Residence / Land
First Name s2member s2member-front First Name / Vorname
Last Name s2member s2member-front Last Name / Nachname
Password (type this twice please) s2member s2member-front Password (type this twice please) / Passwort (zweimal eingeben)
Postal / Zip Code s2member s2member-front Postcode / Postleitzahl
State / Province s2member s2member-front City / Stadt
Submit Form s2member s2member-front Pay Now - Jetzt Bezahlen
Tax Location s2member s2member-front Place of Residence / Wohnort
Username (lowercase letters and/or numbers) s2member s2member-front Username (lowercase letters and/or numbers / Kleinbuchstaben und/oder Ziffern)
(as seen here – https://www.velomap.org/de/support/membership/ )
What I wrote is for a Stripe form. I haven’t tried it with PayPal.
Oh yeah – too bad this is not compatible with mqtranslate. Would love to do the translate text like
[:en]english text[:de]german text
but well – some hooks are not taken here. That’s of less concern to me than the illegal “submit form”.
Well mine is for Stripe too. WTF – how can it work for you but not me…
Can you link an example?
Oh – I got it. I had “s2member-front ” as text content instead of “s2member-front”