Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

Can't translate the Add to Quote button generated by Request a Quote plugin by Addify.

Solution:

You need to translate the quote rules you create using the plugin to be able to translate the button text.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by samuelN 1 year, 11 months ago.

Assisted by: Ahmed Mohammed.

Author Posts
January 12, 2023 at 1:41 pm #12805711

samuelN

Tell us what you are trying to do?
I have translated Add to Quote button text to Chinese using the String Translation but on website frontend, it still display in English "Add to Quote" on the Chinese page. I aslo have attached an image for my String Translation page. I am using "Request a Quote for WooCommerce" plugin.

Is there any documentation that you are following?

Is there a similar example that we can see?
You can view at hidden link

and view here at hidden link

What is the link to your site?
hidden link

String-Translation-‹-Hygeian-Medical-Supplies-—-WordPress.png
January 12, 2023 at 3:57 pm #12807023

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi there,

Thank you for contacting WPML support!

I understand you're using Request a Quote for WooCommerce plugin and can't translate the Add to Quote button text.

After checking the plugin's documentation, it looks like the button text is something you can change. Is that right?

I have created this sandbox website: hidden link - could you please upload the plugin there and try replicating the issue and I will check how the button label is translated.

Looking forward to hearing back from you.

January 16, 2023 at 3:19 am #12823375

samuelN

Hi Ahmed,

I’m not sure about changing the button text as I did not change anything.

I have just installed the Request for Quote plugin onto your sandbox website, but after I clicked activated, the sandbox website display blank with the below error.

There has been a critical error on this website.

January 16, 2023 at 10:36 am #12825627

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi there,

> I have just installed the Request for Quote plugin onto your sandbox website, but after I clicked activated, the sandbox website display blank with the below error.

That's interesting! The sandbox didn't have any active plugins except for WPML.

I have enabled the private reply for you, could you please provide me with the plugin files uploaded to Google Drive so I can install it on a clean installation and check how that button can be translated?

Looking forward to hearing back from you.

January 16, 2023 at 11:03 am #12825903

samuelN

Hi Ahmed,

You may downalod the plugin at hidden link

Thank you

January 16, 2023 at 4:06 pm #12828267

Ahmed Mohammed
Supporter

Timezone: Africa/Cairo (GMT+02:00)

Hi there,

I appreciate your patience while I was looking into this.

I followed the plugin's documentation to create a quote rule and I found there's an option to set the button text as shown in the attached screenshot.

To translate that button text, I had to duplicate the rule and translate the button label in the second language as shown in the attached screenshot.

Could you please try that and let me know how it goes?

Looking forward to hearing back from you.

button.png
quote-button.png
January 17, 2023 at 1:16 am #12830153

samuelN

Hi Ahmed,

Thank you for your help, this issue has resolved.