Tell us what you are trying to do?
I am trying to translate the form fields on the product pages
Is there any documentation that you are following?
I cannot find any documentation on how to implement this
Is there a similar example that we can see?
You can select any of the subscription products. The language switcher is in the footer. When I change it to french, the fields disappear.
However, it has been fixed in a new version of YITH WooCommerce Product Add-ons & Extra Options (premium). You can read more about the fix in the changelog hidden link
Please use the premium version 4.12.1 of this plugin and let me know if it works.
the workaround to fix this issue will be added to the YITH plugin file. If they add the fix to the premium version, you need to use the premium version as a permanent solution. I suggest contacting YITH plugin support to get more information.
We limit one issue per ticket only so I will split your new question into a new ticket for better handling.
I followed the instructions to fix the issue:
- Open .../wp-content/plugins/yith-woocommerce-product-add-ons/includes/class-yith-wapo-front.php
- Look for line 282.
This line of code does not currently exist in the file. (see attached screensot)
Is there a more recent version of this ticket that would help address the issue?
Now the current version of this plugin is 4.9.2 and there were many changes in their source code so it is normal if that code doesn't exist in the file. You can follow the changelog of the plugin here hidden link hidden link
I suggest you get in touch with YITH support and ask them if they've applied the fix for this issue in the premium version. Here is the reply from the plugin author when our compatibility team worked with them on this issue around one year ago.
"In the next major version (that we will release soon), all this code will be refactored and we will do a compatibility file for WPML inside /includes/compatibility, to pick up the correct product."
Thanks for your understanding and patience.
The topic ‘[Closed] The form fields needed for subscription purchase are not being translated’ is closed to new replies.