This thread is resolved. Here is a description of the problem and solution.
Problem:
Custom fields were not available for translation.
Solution:
- Set the required custom field's translation preference to translate or copy as required from wp-admin -> WPML -> Settings -> Custom Field Translation
- If you don't find the field there click on "Show System Fields" just below the "Custom Field Translation" heading.
- Edit and update the page with the issue in primary language.
Hello Carlos,
what is the best way to have the custom variables (used by plugins) of those WooCommerce product variations in the screenshot: Cost, Up-Sells and Cross-Sells copied to all other languages?
Just like the other variables with the 🔒-symbol.
First of all to ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. You can find it in WPML > Support > click on “Debug information” link. Please check this link for more info: http://wpml.org/faq/provide-debug-information-faster-support/
Now, regarding the fields in the screenshot it looks like they are custom fields, can you please go to WPML -> Settings -> Custom Field Translation and set those fields to Copy or Translate as required as explained in the next document and see if it helps?
If you don't see those custom fields there, try clicking on the "Show System Fields" just below the "Custom Field Translation" heading then try searching for Upsell, cost and see if you find those fields.
IMPORTANT: Please make sure to backup the site completely first or test this on a staging/test site to prevent any issues.
Subash, thank you for pointing out the Show System Fields option. This helped me find the custom fields and mark them for copy.
After saving the product page the fields also got correctly synchronized.
I also added the custom fields to my wpml-config.xml in my child theme. Then custom fields appear with a 🔒-sign on the "Setting" page, but not yet on the product pages.
What is the trick to have custom fields marked as copy appear with the🔒-sign on the product page too?
Thank you for confirming the issue is resolved now.
The default product fields are locked with a custom feature from WCML. However this is not yet available for other fields so No, the custom field cannot be locked for the translations.