Translate contact form

StatusIDPriorityType
Closed31314HighSierra WP Theme
Profile Reply
AlbertoBedo Client

How can I translate the label of Sierra Contact Form?

(I’m talking about “Your name”, “your email” and “text message”.)

Thank you
Alberto

Replies

User Description Posted On
Shindiri Support team Administrator

Hi,

that should be translatable with wpml along with the rest of the website. If you tried already and wasn't successful we will need access to your project to check the issue.

PLEASE DO NOT POST VALID LOG IN DATA ON PUBLIC DISPLAY, ALWAYS SEND IT THROUGH EMAIL.

Can you send us your access data for FTP and WP login info via e-mail to support@shindiristudio.com so we could see the problem firsthand? Also, you must include your Ticket ID so we can identify your purchasing and than we can solve your issue.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

AlbertoBedo Client

Hello,

thanks for your reply. Yes I could use WPML BUT those 6 words are the only word that I need to translate in the entire website!! Nothing else.

So I don't want to install/mantain WPML only for 6 words.

It would be ok for me to translate the hard-encoded words if you can tell me where I can find them. Database? Inside a file .php?

Thank you

Shindiri Support team Administrator

Hi,

ok if you don't mind hard-coding and not planing to use multilingual option then of course you can do it.

file is comments.php and code is line 59 to 61. All three labels are there. Change to your preferable text.

full path to it is wp-content\themes\sierra\comments.php

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

AlbertoBedo Client

Hello, I changed the line to:

$author_field = '<p class="text-block">' . __( 'Il tuo nome', 'sierra_tr' ) . '<span> ' . $require_name_email . '</span><input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" />';

But nothing changed. I still see the English version "your name". I tried an hard refresh of the browser and I also tried from a different browser. What's wrong?

In addition, how can I translate also the lines "Enter image number" (captcha) and "SEND MESSAGE"?

Thank you

Shindiri Support team Administrator

Hi,

we are not sure why it didn't work so please give us access to the project so we can troubleshoot.

PLEASE DO NOT POST VALID LOG IN DATA ON PUBLIC DISPLAY, ALWAYS SEND IT THROUGH EMAIL.

Can you send us your access data for FTP and WP login info via e-mail to support@shindiristudio.com so we could see the problem firsthand? Also, you must include your Ticket ID so we can identify your purchasing and than we can solve your issue.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

AlbertoBedo Client

Ok I just sent an email to you with all the information needed.

Let me know

Thanks
Alberto

Shindiri Support team Administrator

Hi,

support team sent you email with a solution for that translate. Please confirm that's what you needed.

Best regards,
Shindiri Studio | http://www.shindiristudio.com/

AlbertoBedo Client

Yes, it worked, thank you!

× This ticket is closed.