Skip Navigation

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

Problem:
The client is experiencing an issue where a form on a quote page is visible in the English version but not in the French version, despite using B2B for WooCommerce, WPML plugins, and the Divi theme. Additionally, the client has concerns about the translation of form fields and labels not being applied.

Solution:
For the visibility issue of the quote fields in the French version:
1. We navigate to WPML > String Translation > Translate texts in admin screens.
2. We search for the option "addify_atq_page_id" and add it to String Translation.
3. We then translate it with the translation page ID.
Refer to the documentation here.

For translating the quote field label:
1. We go to WPML > Settings > Custom Fields Translation.
2. We search for the keyword "afrf_" and set the field "afrfq_field_label" preference to "Translate" and save.
3. We navigate to B2B > Quote Fields, edit the field, click on Update, and then update the translation of the field label.
Please refer to the documentation here.

If this solution doesn't look relevant, please open a new support ticket here.

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 Long Nguyen 1 year, 5 months ago.

Assisted by: Long Nguyen.

Author Posts
January 3, 2024 at 9:42 pm #15148766

timB-58

Hi,

I have a visibility problem with form display on a quote page using B2B Woocommerce / WPML plugins and Divi theme. I checked with the Divi team and they confirmed it's not theme related. The form shows up on the English version but not the French.

The urls :
English =hidden link
French = hidden link

Screenshot 2024-01-03 at 1.50.08 PM.png
Screenshot 2024-01-03 at 1.49.54 PM.png
January 4, 2024 at 3:38 am #15149044

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Tim,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

I see the form is a post of the post type "addify_quote", is that right? Please try to translate the post and update the page "request-a-quote" and its translation to see if it helps.

Look forward to your reply.
Thanks

January 4, 2024 at 3:22 pm #15151945

timB-58

Hello Long,

I've looked for posts to translate in the WPML plugin but haven't found anything. I decided to go look at the page parameters in WP and found that when I want to change the setting of the page to require translation, it can't complete the task so that I can update.

Have you ween this issue before?

Screenshot 2024-01-04 at 9.26.51 AM.png
Screenshot 2024-01-04 at 9.07.56 AM.png
January 5, 2024 at 1:12 am #15153134

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

In the Translation Management board, you can filter by the post type, not "Post" to translate the form. If the translation is stuck, please follow the documentation below to solve this
https://wpml.org/faq/translation-status-stuck-or-displaying-the-error-wpml-didnt-manage-to-translate-this-page/

If it does not help, I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

January 8, 2024 at 3:12 am #15158038

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

The page "request-a-quote" is set to display the quote fields by the option "addify_atq_page_id" and it is not translated. I go to WPML > String Translation > Translate texts in admin screens > Search for the option > Add it to String Translation. Then I translate it with the translation page ID.
Now you can see the quote fields displayed in the French language as well.

Refer documentation https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Look forward to your reply.
Thanks

Demander un devis - Studio B Canada Group 2024-01-08 10-00-14.png
January 8, 2024 at 2:32 pm #15160941

timB-58

Hello Long,

Thank you for your instructions, I followed the steps and I can see the form in the French version. I have a question regarding the translation of the form fields & labels. I know I did that already, so I'm wondering why the translation isn't applied to the form when the other items in the page template are translated?

Thanks!

Screenshot 2024-01-08 at 9.26.33 AM.png
January 9, 2024 at 2:24 am #15162858

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

To translate the quote field label, you can follow steps below:

1. Go to WPML > Settings > Custom Fields Translation > Search for the keyword "afrf_" and set the field "afrfq_field_label" preference to "Translate" > Save.

2. Go to B2B > Quote Fields > Edit the field > Click on Update > Update the translation and translate the field label.

Please check the screenshots attached. Refer documentation
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Look forward to your reply.
Thanks

Demander un devis - Studio B Canada Group 2024-01-09 09-18-18.png
Settings ‹ Studio B Canada Group — WordPress 2024-01-09 09-19-08.png
January 9, 2024 at 4:04 pm #15165589

timB-58

Hello Long,

Thank you very much for your thorough explanations, everything worked and all the fields are translated now.